diff options
author | delphij <delphij@FreeBSD.org> | 2014-12-11 06:00:53 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-12-11 06:00:53 +0000 |
commit | 2e5be0fdd11aef0d2cb0d88c71946b953019f313 (patch) | |
tree | b244166ac6ad22aa3a3644030c1820586c4b9fc6 /src/ascmagic.c | |
parent | 7893a3c5449c71b45d7eadfe0af1d36c4b36103d (diff) | |
download | FreeBSD-src-2e5be0fdd11aef0d2cb0d88c71946b953019f313.zip FreeBSD-src-2e5be0fdd11aef0d2cb0d88c71946b953019f313.tar.gz |
Vendor import of file 5.21.
Diffstat (limited to 'src/ascmagic.c')
-rw-r--r-- | src/ascmagic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ascmagic.c b/src/ascmagic.c index ca26665..78a6dbb 100644 --- a/src/ascmagic.c +++ b/src/ascmagic.c @@ -35,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: ascmagic.c,v 1.88 2014/02/12 23:20:53 christos Exp $") +FILE_RCSID("@(#)$File: ascmagic.c,v 1.91 2014/11/28 02:46:39 christos Exp $") #endif /* lint */ #include "magic.h" @@ -147,7 +147,8 @@ file_ascmagic_with_encoding(struct magic_set *ms, const unsigned char *buf, == NULL) goto done; if ((rv = file_softmagic(ms, utf8_buf, - (size_t)(utf8_end - utf8_buf), 0, TEXTTEST, text)) == 0) + (size_t)(utf8_end - utf8_buf), 0, NULL, + TEXTTEST, text)) == 0) rv = -1; } |