=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/file/file.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/file/file.c 1998/07/10 15:05:20 1.6 --- src/usr.bin/file/file.c 1999/02/19 00:28:37 1.7 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.6 1998/07/10 15:05:20 mickey Exp $ */ /* * file - find type of a file or files - main program. --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.7 1999/02/19 00:28:37 deraadt Exp $ */ /* * file - find type of a file or files - main program. *************** *** 27,33 **** * 4. This notice may not be removed or altered. */ #ifndef lint ! static char *moduleid = "$OpenBSD: file.c,v 1.6 1998/07/10 15:05:20 mickey Exp $"; #endif /* lint */ #include --- 27,33 ---- * 4. This notice may not be removed or altered. */ #ifndef lint ! static char *moduleid = "$OpenBSD: file.c,v 1.7 1999/02/19 00:28:37 deraadt Exp $"; #endif /* lint */ #include *************** *** 152,159 **** } if (optind == argc) { ! if (!didsomefiles) ! err(2, USAGE, __progname); } else { int i, wid, nw; for (wid = 0, i = optind; i < argc; i++) { --- 152,161 ---- } if (optind == argc) { ! if (!didsomefiles) { ! fprintf(stderr, USAGE, __progname); ! exit(2); ! } } else { int i, wid, nw; for (wid = 0, i = optind; i < argc; i++) {