From owner-svn-src-all@FreeBSD.ORG Mon Jan 5 16:47:42 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D575F10656F4; Mon, 5 Jan 2009 16:47:42 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C3B258FC1C; Mon, 5 Jan 2009 16:47:42 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n05Glg0P001762; Mon, 5 Jan 2009 16:47:42 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n05Glgf5001761; Mon, 5 Jan 2009 16:47:42 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <200901051647.n05Glgf5001761@svn.freebsd.org> From: "David E. O'Brien" Date: Mon, 5 Jan 2009 16:47:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186784 - head/usr.sbin/burncd X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2009 16:47:43 -0000 Author: obrien Date: Mon Jan 5 16:47:42 2009 New Revision: 186784 URL: http://svn.freebsd.org/changeset/base/186784 Log: Correct the type for the global var accessed in sig handlers. Modified: head/usr.sbin/burncd/burncd.c Modified: head/usr.sbin/burncd/burncd.c ============================================================================== --- head/usr.sbin/burncd/burncd.c Mon Jan 5 16:25:36 2009 (r186783) +++ head/usr.sbin/burncd/burncd.c Mon Jan 5 16:47:42 2009 (r186784) @@ -59,7 +59,7 @@ struct track_info { }; static struct track_info tracks[100]; static int quiet, verbose, saved_block_size, notracks; -static volatile int global_fd_for_cleanup; +static volatile sig_atomic_t global_fd_for_cleanup; void add_track(char *, int, int, int); void do_DAO(int fd, int, int);