services_mkdb(8): 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:
riastradh 2023-08-08 10:35:21 +00:00
parent 72254be91c
commit 7393532b27
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: output_cdb.c,v 1.2 2023/08/07 20:21:08 tnn Exp $ */
/* $NetBSD: output_cdb.c,v 1.3 2023/08/08 10:35:21 riastradh Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@ -143,7 +143,7 @@ cdb_close(void)
rv = 0;
serrno = errno;
if (cdbw_output(cdbw, cdbw_fd, "services(5)\0\0\0\0", NULL)) {
if (cdbw_output(cdbw, cdbw_fd, "services(5)", NULL)) {
rv = -1;
serrno = errno;
}