Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sysmon Fix format / number of argument mismatch for ...



details:   https://anonhg.NetBSD.org/src/rev/dc652d7dbd67
branches:  trunk
changeset: 547034:dc652d7dbd67
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun May 11 18:52:39 2003 +0000

description:
Fix format / number of argument mismatch for a printf.

diffstat:

 sys/dev/sysmon/sysmon_power.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9be98d811046 -r dc652d7dbd67 sys/dev/sysmon/sysmon_power.c
--- a/sys/dev/sysmon/sysmon_power.c     Sun May 11 18:48:13 2003 +0000
+++ b/sys/dev/sysmon/sysmon_power.c     Sun May 11 18:52:39 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysmon_power.c,v 1.3 2003/04/20 20:48:28 thorpej Exp $ */
+/*     $NetBSD: sysmon_power.c,v 1.4 2003/05/11 18:52:39 fvdl Exp $    */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -410,7 +410,7 @@
                rv = sysmon_queue_power_event(&pev);
                simple_unlock(&sysmon_power_event_queue_slock);
                if (rv == 0)
-                       printf("%s: WARNING: state change event lost; "
+                       printf("%s: WARNING: state change event %d lost; "
                            "queue full\n", smpsw->smpsw_name,
                            pev.pev_type);
                return;



Home | Main Index | Thread Index | Old Index