Source-Changes-HG archive

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

[src/trunk]: src/sys/dev fix format warning.



details:   https://anonhg.NetBSD.org/src/rev/1331fb9abc69
branches:  trunk
changeset: 349533:1331fb9abc69
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 13 20:50:13 2016 +0000

description:
fix format warning.

diffstat:

 sys/dev/spkr_synth.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 625429410187 -r 1331fb9abc69 sys/dev/spkr_synth.c
--- a/sys/dev/spkr_synth.c      Tue Dec 13 20:42:15 2016 +0000
+++ b/sys/dev/spkr_synth.c      Tue Dec 13 20:50:13 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: spkr_synth.c,v 1.7 2016/12/13 20:20:34 christos Exp $  */
+/*     $NetBSD: spkr_synth.c,v 1.8 2016/12/13 20:50:13 christos Exp $  */
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.7 2016/12/13 20:20:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: spkr_synth.c,v 1.8 2016/12/13 20:50:13 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -147,7 +147,7 @@
        cv_init(&sc->sc_bellcv, "bellcv");
 
        kthread_create(PRI_BIO, KTHREAD_MPSAFE | KTHREAD_MUSTJOIN, NULL,
-           bell_thread, sc, &sc->sc_bellthread, device_xname(self));
+           bell_thread, sc, &sc->sc_bellthread, "%s", device_xname(self));
 
        spkr_attach(self, spkr_synth_tone, spkr_synth_rest);
 }



Home | Main Index | Thread Index | Old Index