Lines Matching refs:file_error
133 file_error(ms, 0, "magic element size %lu != %lu",
407 file_error(ms, errno, "cannot read magic file `%s'",
699 file_error(ms, errno, "cannot stat `%s'", dbname);
704 file_error(ms, 0, "file `%s' is too %s", dbname,
715 - file_error(ms, errno, "cannot map `%s'", dbname);
746 + file_error(ms, 0, "bad magic in `%s'", dbname);
757 + file_error(ms, 0, "File %d.%d supports only version %d magic "
764 - file_error(ms, errno, "cannot mprotect `%s'", dbname);
778 + file_error(ms, 0, "Size of `%s' %llu is not a multiple of %zu",
796 + file_error(ms, 0, "Inconsistent entries in `%s' %u != %u",
830 file_error(ms, 0, "File %s supports only version %d magic "
861 file_error(ms, errno, "cannot open `%s'", dbname);
870 file_error(ms, errno, "error writing `%s'", dbname);
878 file_error(ms, errno, "error writing `%s'", dbname);
1515 -protected void file_error(struct magic_set *, int, const char *, ...)
1522 +protected void file_error(struct magic_set *, int, const char *, ...);
1653 - file_error(ms, err,
1743 + file_error(ms, errno, "cannot stat `%s'", fn);
1754 - file_error(ms, errno, "cannot stat `%s'", fn);
1760 + file_error(ms, errno, "cannot stat `%s'", fn);
1876 - file_error(ms, errno, "unreadable symlink `%s'",
1878 + file_error(ms, errno, "unreadable symlink `%s'", fn);
1905 - file_error(ms, 0,
2083 file_error(ms, errno, "error reading");
2769 - file_error(ms, errno, "cannot read fd %d", fd);
2771 - file_error(ms, errno, "cannot read `%s'",
2776 + file_error(ms, errno, "cannot read `%s'", inname);
3444 - file_error(ms, errno,