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 dd678b0d9c80594f911c558db7568f2bb8f08e7b..974f0b7069aac96567caf7d9284ca4d189997766 100644 (file)
@@ -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) {