mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 04:40:53 -05:00
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
3303e9bc22
commit
ee2e68af86
2 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue