Make this compile again by fixing err args to have formats
Also, add NO_OBJ=t top the Makefie, since the test-harnest expects to run it in place.
This commit is contained in:
parent
5ea94347d9
commit
6b5b54b8b4
@ -2,6 +2,7 @@
|
||||
|
||||
PROG= MdLoad
|
||||
LIBADD= sbuf bsdxml
|
||||
NO_OBJ= t
|
||||
|
||||
MAN=
|
||||
|
||||
|
@ -216,7 +216,7 @@ g_simdisk_xml_load(const char *file)
|
||||
|
||||
fd = open(file, O_RDONLY);
|
||||
if (fd < 0)
|
||||
err(1, file);
|
||||
err(1, "%s", file);
|
||||
fstat(fd, &st);
|
||||
p = mmap(NULL, st.st_size, PROT_READ, MAP_NOCORE|MAP_PRIVATE, fd, 0);
|
||||
i = XML_Parse(parser, p, st.st_size, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user