]> granicus.if.org Git - file/commitdiff
the continuation error is a magic error.
authorChristos Zoulas <christos@zoulas.com>
Sun, 6 Jan 2013 20:36:18 +0000 (20:36 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 6 Jan 2013 20:36:18 +0000 (20:36 +0000)
src/apprentice.c

index 961e83db54b1820f597892fd0d12c33a050c5fbf..681171204a91e596c3dd9bba4057c3930232875d 100644 (file)
@@ -32,7 +32,7 @@
 #include "file.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: apprentice.c,v 1.181 2013/01/03 23:11:38 christos Exp $")
+FILE_RCSID("@(#)$File: apprentice.c,v 1.182 2013/01/06 20:36:18 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) {