slackware-current/source/a/file/file.quiet.diff

15 lines
591 B
Diff
Raw Normal View History

diff -Nur file-5.00.orig/src/apprentice.c file-5.00/src/apprentice.c
--- file-5.00.orig/src/apprentice.c 2009-02-03 14:27:51.000000000 -0600
+++ file-5.00/src/apprentice.c 2009-02-08 22:19:19.215635230 -0600
@@ -285,8 +285,8 @@
#ifndef COMPILE_ONLY
if ((rv = apprentice_map(ms, &magic, &nmagic, fn)) == -1) {
- if (ms->flags & MAGIC_CHECK)
- file_magwarn(ms, "using regular magic file `%s'", fn);
+ /* if (ms->flags & MAGIC_CHECK)
+ file_magwarn(ms, "using regular magic file `%s'", fn); */
rv = apprentice_load(ms, &magic, &nmagic, fn, action);
if (rv != 0)
return -1;