1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Missing colon in optsring for 'B'

From Jan Niemann <jan.niemann@gns-systems.de>
This commit is contained in:
jsg 2007-09-05 08:58:34 +00:00
parent 6b52fad837
commit 1287e019cf

View File

@ -1,4 +1,4 @@
/* $OpenBSD: xinstall.c,v 1.46 2007/08/06 19:16:06 sobrado Exp $ */
/* $OpenBSD: xinstall.c,v 1.47 2007/09/05 08:58:34 jsg Exp $ */
/* $NetBSD: xinstall.c,v 1.9 1995/12/20 10:25:17 jonathan Exp $ */
/*
@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)xinstall.c 8.1 (Berkeley) 7/21/93";
#endif
static char rcsid[] = "$OpenBSD: xinstall.c,v 1.46 2007/08/06 19:16:06 sobrado Exp $";
static char rcsid[] = "$OpenBSD: xinstall.c,v 1.47 2007/09/05 08:58:34 jsg Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -100,7 +100,7 @@ main(int argc, char *argv[])
char *flags, *to_name, *group = NULL, *owner = NULL;
iflags = 0;
while ((ch = getopt(argc, argv, "BbCcdf:g:m:o:pSs")) != -1)
while ((ch = getopt(argc, argv, "B:bCcdf:g:m:o:pSs")) != -1)
switch((char)ch) {
case 'C':
docompare = 1;