Module Name: src Committed By: riastradh Date: Tue Aug 8 10:35:21 UTC 2023
Modified Files: src/usr.sbin/services_mkdb: output_cdb.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/services_mkdb/output_cdb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/services_mkdb/output_cdb.c diff -u src/usr.sbin/services_mkdb/output_cdb.c:1.2 src/usr.sbin/services_mkdb/output_cdb.c:1.3 --- src/usr.sbin/services_mkdb/output_cdb.c:1.2 Mon Aug 7 20:21:08 2023 +++ src/usr.sbin/services_mkdb/output_cdb.c Tue Aug 8 10:35:21 2023 @@ -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; }