Module Name: src
Committed By: andvar
Date: Mon Feb 17 22:58:34 UTC 2025
Modified Files:
src/lib/libresolv: res_mkupdate.c
src/usr.bin/moduli/qsieve: qsieve.c
Log Message:
byt(s)->byte(s) in error message and comment.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libresolv/res_mkupdate.c
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/moduli/qsieve/qsieve.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libresolv/res_mkupdate.c
diff -u src/lib/libresolv/res_mkupdate.c:1.3 src/lib/libresolv/res_mkupdate.c:1.4
--- src/lib/libresolv/res_mkupdate.c:1.3 Thu Jun 9 14:02:30 2022
+++ src/lib/libresolv/res_mkupdate.c Mon Feb 17 22:58:34 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: res_mkupdate.c,v 1.3 2022/06/09 14:02:30 andvar Exp $ */
+/* $NetBSD: res_mkupdate.c,v 1.4 2025/02/17 22:58:34 andvar Exp $ */
/*
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -26,7 +26,7 @@
#if 0
static const char rcsid[] = "Id: res_mkupdate.c,v 1.10 2008/12/11 09:59:00 marka Exp ";
#else
-__RCSID("$NetBSD: res_mkupdate.c,v 1.3 2022/06/09 14:02:30 andvar Exp $");
+__RCSID("$NetBSD: res_mkupdate.c,v 1.4 2025/02/17 22:58:34 andvar Exp $");
#endif
#include "port_before.h"
@@ -981,7 +981,7 @@ res_buildservicelist(void) {
free(slp);
break;
}
- slp->port = ntohs((u_int16_t)sp->s_port); /*%< host byt order */
+ slp->port = ntohs((u_int16_t)sp->s_port); /*%< host byte order */
slp->next = servicelist;
slp->prev = NULL;
if (servicelist)
Index: src/usr.bin/moduli/qsieve/qsieve.c
diff -u src/usr.bin/moduli/qsieve/qsieve.c:1.3 src/usr.bin/moduli/qsieve/qsieve.c:1.4
--- src/usr.bin/moduli/qsieve/qsieve.c:1.3 Sun Sep 4 20:55:43 2011
+++ src/usr.bin/moduli/qsieve/qsieve.c Mon Feb 17 22:58:34 2025
@@ -1,4 +1,4 @@
-/* $NetBSD: qsieve.c,v 1.3 2011/09/04 20:55:43 joerg Exp $ */
+/* $NetBSD: qsieve.c,v 1.4 2025/02/17 22:58:34 andvar Exp $ */
/*-
* Copyright 1994 Phil Karn <[email protected]>
@@ -280,7 +280,7 @@ main(int argc, char *argv[])
}
if ((TinySieve = (uint32_t *) calloc((size_t) tinywords, sizeof(uint32_t))) == NULL) {
- errx(1, "Insufficient memory for tiny sieve: need %u byts.",
+ errx(1, "Insufficient memory for tiny sieve: need %u bytes.",
tinywords << SHIFT_BYTE);
}
tinybits = tinywords << SHIFT_WORD;