diff options
author | 1999-12-06 00:31:55 +0000 | |
---|---|---|
committer | 1999-12-06 00:31:55 +0000 | |
commit | 04feb3fe1c7967d7ea0294e03a151426eaea74e8 (patch) | |
tree | 152ddf1e336a3cb38aaa47cc12eddb16c8ea3eb5 /usr.bin/file/apprentice.c | |
parent | sure, nix the PROT_EXEC; zzlevo@dd.chalmers.se (diff) | |
download | wireguard-openbsd-04feb3fe1c7967d7ea0294e03a151426eaea74e8.tar.xz wireguard-openbsd-04feb3fe1c7967d7ea0294e03a151426eaea74e8.zip |
oflow
Diffstat (limited to 'usr.bin/file/apprentice.c')
-rw-r--r-- | usr.bin/file/apprentice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/apprentice.c b/usr.bin/file/apprentice.c index 177992aeb63..6c62bc59b64 100644 --- a/usr.bin/file/apprentice.c +++ b/usr.bin/file/apprentice.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apprentice.c,v 1.8 1999/09/26 20:47:28 ian Exp $ */ +/* $OpenBSD: apprentice.c,v 1.9 1999/12/06 00:32:28 deraadt Exp $ */ /* * apprentice - make one pass through /etc/magic, learning its secrets. @@ -36,7 +36,7 @@ #include "file.h" #ifndef lint -static char *moduleid = "$OpenBSD: apprentice.c,v 1.8 1999/09/26 20:47:28 ian Exp $"; +static char *moduleid = "$OpenBSD: apprentice.c,v 1.9 1999/12/06 00:32:28 deraadt Exp $"; #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ @@ -74,7 +74,7 @@ int check; /* non-zero? checking-only run. */ else exit(1); } - fn = strcpy(mfn, fn); + fn = strcpy(mfn, fn); /* ok */ while (fn) { p = strchr(fn, ':'); |