Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/vmstat Remove extraneous "d" in a printf format stri...



details:   https://anonhg.NetBSD.org/src/rev/89bc92079a8c
branches:  trunk
changeset: 371985:89bc92079a8c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Oct 23 23:30:31 2022 +0000

description:
Remove extraneous "d" in a printf format string in UVM history dump
(leftover int format specifier from conversion to FMTd32?).

diffstat:

 usr.bin/vmstat/vmstat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5dcd6bf3fa0a -r 89bc92079a8c usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Sun Oct 23 23:03:30 2022 +0000
+++ b/usr.bin/vmstat/vmstat.c   Sun Oct 23 23:30:31 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.255 2022/07/16 10:36:19 simonb Exp $ */
+/* $NetBSD: vmstat.c,v 1.256 2022/10/23 23:30:31 simonb Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001, 2007, 2019, 2020
@@ -71,7 +71,7 @@
 #if 0
 static char sccsid[] = "@(#)vmstat.c   8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.255 2022/07/16 10:36:19 simonb Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.256 2022/10/23 23:30:31 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -2299,7 +2299,7 @@
                        bintime2timeval(&e->bt, &tv);
                        (void)printf("%06ld.%06ld ", (long int)tv.tv_sec,
                            (long int)tv.tv_usec);
-                       (void)printf("%s#%" PRId32 "@%" PRId32 "d: ",
+                       (void)printf("%s#%" PRId32 "@%" PRId32 ": ",
                            fn, e->call, e->cpunum);
                        (void)printf(fmt, e->v[0], e->v[1], e->v[2], e->v[3]);
                        (void)putchar('\n');



Home | Main Index | Thread Index | Old Index