#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: softmagic.c,v 1.159 2013/02/17 22:28:27 christos Exp $")
+FILE_RCSID("@(#)$File: softmagic.c,v 1.160 2013/02/26 18:24:43 christos Exp $")
#endif /* lint */
#include "magic.h"
file_error(ms, 0, "cannot find entry `%s'", sbuf);
return -1;
}
- return match(ms, ml.magic, ml.nmagic, s, nbytes, offset,
+ return match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,
mode, text, flip, returnval);
case FILE_NAME: