From eb2bc96a82e8e1b7618abae6ed4b3b7e25abefff Mon Sep 17 00:00:00 2001 From: Christos Zoulas <christos@zoulas.com> Date: Sun, 6 Jan 2013 20:36:18 +0000 Subject: [PATCH] the continuation error is a magic error. --- src/apprentice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apprentice.c b/src/apprentice.c index dd678b0d..974f0b70 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -32,7 +32,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: apprentice.c,v 1.180 2012/11/21 16:27:07 christos Exp $") +FILE_RCSID("@(#)$File: apprentice.c,v 1.181 2013/01/03 23:11:38 christos Exp $") #endif /* lint */ #include "magic.h" @@ -1386,7 +1386,7 @@ parse(struct magic_set *ms, struct magic_entry *me, const char *line, #endif if (cont_level != 0) { if (me->mp == NULL) { - file_error(ms, 0, "No current entry for continuation"); + file_magerror(ms, "No current entry for continuation"); return -1; } if (me->cont_count == me->max_count) { -- 2.40.0