libnpf(3): No need for weird padding any more.
cdbw_output never needed it at runtime, and the declaration no longer makes gcc angry about not having it.
This commit is contained in:
parent
18140ab7da
commit
b3b6b684eb
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.51 2023/08/01 07:57:17 mrg Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: npf.c,v 1.52 2023/08/08 10:36:04 riastradh Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
|
@ -1203,7 +1203,7 @@ _npf_table_build_const(nl_table_t *tl)
|
|||
}
|
||||
unlink(sfn);
|
||||
|
||||
if (cdbw_output(cdbw, fd, "npf-table-cdb\0\0", NULL) == -1) {
|
||||
if (cdbw_output(cdbw, fd, "npf-table-cdb", NULL) == -1) {
|
||||
error = errno;
|
||||
goto out;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue