Module Name:    src
Committed By:   rillig
Date:           Sun Jan 21 22:06:46 UTC 2024

Modified Files:
        src/lib/libutil: snprintb.3

Log Message:
snprintb.3: remove empty string literals from examples

Suggested by uwe@, as gaps in bitmasks are quite common and thus
shouldn't clutter the code.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/lib/libutil/snprintb.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libutil/snprintb.3
diff -u src/lib/libutil/snprintb.3:1.25 src/lib/libutil/snprintb.3:1.26
--- src/lib/libutil/snprintb.3:1.25	Sun Jan 21 21:31:23 2024
+++ src/lib/libutil/snprintb.3	Sun Jan 21 22:06:46 2024
@@ -1,4 +1,4 @@
-.\"     $NetBSD: snprintb.3,v 1.25 2024/01/21 21:31:23 rillig Exp $
+.\"     $NetBSD: snprintb.3,v 1.26 2024/01/21 22:06:46 rillig Exp $
 .\"
 .\" Copyright (c) 1998 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -247,9 +247,9 @@ snprintb(buf, buflen, "\e10\e2BITTWO\e1B
 
 snprintb(buf, buflen,
     "\e20"
-    "\ex10NOTBOOT" "\ex0fFPP" "\ex0eSDVMA" ""
+    "\ex10NOTBOOT" "\ex0fFPP" "\ex0eSDVMA"
     "\ex0cVIDEO" "\ex0bLORES" "\ex0aFPA" "\ex09DIAG"
-    "" "\ex07CACHE" "\ex06IOCACHE" "\ex05LOOPBACK"
+    "\ex07CACHE" "\ex06IOCACHE" "\ex05LOOPBACK"
     "\ex04DBGCACHE",
     0xe860)
 \(rA "0xe860<NOTBOOT,FPP,SDVMA,VIDEO,CACHE,IOCACHE>"
@@ -331,7 +331,6 @@ snprintb_m(buf, buflen,
     0x800f0701, 34)
 \(rA "0x800f0701<LSB,NIBBLE2=0x0>\e0"
    "0x800f0701<BURST=0xf=FIFTEEN,MSB>\e0"
-   ""
 .Ed
 .Sh ERRORS
 .Fn snprintb

Reply via email to