summaryrefslogtreecommitdiff
path: root/src/fsmagic.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2004-11-13 10:19:48 +0000
committerChristos Zoulas <christos@zoulas.com>2004-11-13 10:19:48 +0000
commitf1a0eb521ff8c847428c1600a82addf1fc08a08e (patch)
treea53767dc13c4fc2967049040aeeee3bac8958507 /src/fsmagic.c
parent2eb06e9f74aec9dddf3911ef5cab3d7e6a2a8678 (diff)
downloadfile-git-f1a0eb521ff8c847428c1600a82addf1fc08a08e.tar.gz
Add missing printf arg.
Diffstat (limited to 'src/fsmagic.c')
-rw-r--r--src/fsmagic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fsmagic.c b/src/fsmagic.c
index c590bc92..a9c243b8 100644
--- a/src/fsmagic.c
+++ b/src/fsmagic.c
@@ -57,7 +57,7 @@
#undef HAVE_MAJOR
#ifndef lint
-FILE_RCSID("@(#)$Id: fsmagic.c,v 1.44 2004/09/11 19:15:57 christos Exp $")
+FILE_RCSID("@(#)$Id: fsmagic.c,v 1.45 2004/11/13 10:19:48 christos Exp $")
#endif /* lint */
protected int
@@ -89,7 +89,7 @@ file_fsmagic(struct magic_set *ms, const char *fn, struct stat *sb)
file_error(ms, errno, "cannot stat `%s'", fn);
return -1;
}
- if (file_printf(ms, "cannot open (%s)",
+ if (file_printf(ms, "cannot open `%s' (%s)",
fn, strerror(errno)) == -1)
return -1;
return 1;