From 75e9473c9b6d05bee52d345e5063beb3b542c6fa Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 27 Mar 2001 01:12:28 +0000 Subject: [PATCH] fix wrong argument to printf string (from pooka) --- src/apprentice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apprentice.c b/src/apprentice.c index 8b45e2fb..b84d373d 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -38,7 +38,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$Id: apprentice.c,v 1.37 2001/03/14 14:35:29 christos Exp $") +FILE_RCSID("@(#)$Id: apprentice.c,v 1.38 2001/03/27 01:12:28 christos Exp $") #endif /* lint */ #define EATAB {while (isascii((unsigned char) *l) && \ @@ -828,7 +828,7 @@ apprentice_map(magicp, nmagicp, fn, action) if (version != VERSIONNO) { (void)fprintf(stderr, "%s: version mismatch (%d != %d) in `%s'\n", - progname, version, VERSION, dbname); + progname, version, VERSIONNO, dbname); goto error; } *nmagicp = (st.st_size / sizeof(struct magic)) - 1; -- 2.40.0