Date: Sat, 8 Jan 2000 21:23:58 -0500 (EST) From: Brian Fundakowski Feldman <green@FreeBSD.org> To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/burncd burncd.c Message-ID: <Pine.BSF.4.10.10001072207240.39278-100000@green.dyndns.org> In-Reply-To: <200001070959.BAA99199@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Jan 2000, Søren Schmidt wrote: > sos 2000/01/07 01:59:32 PST > > Modified files: > usr.sbin/burncd burncd.c > Log: > Oops, still leftovers from yesterdays remote commit problems. > Proberly restore blocksize on the device. How about this? You have everything but the getopt string for the 't' argument. Also, since you didn't have a '?'/default case, I tried with 't' earlier, and getopt complained, but it did not exit... This fixes both of those problems. -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' Index: burncd.c =================================================================== RCS file: /usr2/ncvs/src/usr.sbin/burncd/burncd.c,v retrieving revision 1.3 diff -u -r1.3 burncd.c --- burncd.c 2000/01/07 09:59:31 1.3 +++ burncd.c 2000/01/08 03:08:47 @@ -54,7 +54,7 @@ int block_size, cdopen = 0, size, tot_size = 0; struct cdr_track track; - while ((ch = getopt(argc, argv, "ef:pqs:")) != -1) { + while ((ch = getopt(argc, argv, "ef:pqs:t")) != -1) { switch (ch) { case 'e': eject = 1; @@ -81,6 +81,7 @@ break; default: + exit(EX_USAGE); } } argc -= optind; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001072207240.39278-100000>