=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/strip/Attic/strip.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/strip/Attic/strip.c 1997/02/09 16:37:13 1.7 --- src/usr.bin/strip/Attic/strip.c 1997/04/03 19:33:50 1.8 *************** *** 1,4 **** ! /* $OpenBSD: strip.c,v 1.7 1997/02/09 16:37:13 mickey Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: strip.c,v 1.8 1997/04/03 19:33:50 mickey Exp $ */ /* * Copyright (c) 1988 Regents of the University of California. *************** *** 41,47 **** #ifndef lint /*static char sccsid[] = "from: @(#)strip.c 5.8 (Berkeley) 11/6/91";*/ ! static char rcsid[] = "$OpenBSD: strip.c,v 1.7 1997/02/09 16:37:13 mickey Exp $"; #endif /* not lint */ #include --- 41,47 ---- #ifndef lint /*static char sccsid[] = "from: @(#)strip.c 5.8 (Berkeley) 11/6/91";*/ ! static char rcsid[] = "$OpenBSD: strip.c,v 1.8 1997/04/03 19:33:50 mickey Exp $"; #endif /* not lint */ #include *************** *** 96,102 **** argv += optind; errors = 0; ! #define ERROR(x) errors |= 1; warn(fn); continue; while (fn = *argv++) { if ((fd = open(fn, O_RDWR)) < 0) { ERROR(errno); --- 96,102 ---- argv += optind; errors = 0; ! #define ERROR(x) errors |= 1; warnx("%s: %s", fn, strerror(x)); continue; while (fn = *argv++) { if ((fd = open(fn, O_RDWR)) < 0) { ERROR(errno);