diff options
author | Christos Zoulas <christos@zoulas.com> | 2012-10-30 23:11:51 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2012-10-30 23:11:51 +0000 |
commit | f54e51996583a7daf12552ed9095646850e2e897 (patch) | |
tree | 1a82e8c6edf83fc4e0a06a7ce7cc1e10ccb0df02 /src/print.c | |
parent | bb19055b5a9fb2602ba138af9648c333f334f923 (diff) | |
download | file-git-f54e51996583a7daf12552ed9095646850e2e897.tar.gz |
add name and use keywords. Welcome to version 9.
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index 38377a3f..245bb983 100644 --- a/src/print.c +++ b/src/print.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: print.c,v 1.74 2012/05/15 17:14:36 christos Exp $") +FILE_RCSID("@(#)$File: print.c,v 1.75 2012/10/30 23:11:51 christos Exp $") #endif /* lint */ #include <string.h> @@ -195,6 +195,10 @@ file_mdump(struct magic *m) case FILE_DEFAULT: /* XXX - do anything here? */ break; + case FILE_USE: + case FILE_NAME: + (void) fprintf(stderr, "'%s'", m->value.s); + break; default: (void) fputs("*bad*", stderr); break; |