Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Use a format string when printing strings
details: https://anonhg.NetBSD.org/src/rev/cb9f8e02d344
branches: trunk
changeset: 765898:cb9f8e02d344
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jun 09 14:46:33 2011 +0000
description:
Use a format string when printing strings
diffstat:
sys/dev/pci/gcscaudio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 12cece546ca4 -r cb9f8e02d344 sys/dev/pci/gcscaudio.c
--- a/sys/dev/pci/gcscaudio.c Thu Jun 09 14:46:06 2011 +0000
+++ b/sys/dev/pci/gcscaudio.c Thu Jun 09 14:46:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gcscaudio.c,v 1.6 2010/11/13 13:52:05 uebayasi Exp $ */
+/* $NetBSD: gcscaudio.c,v 1.7 2011/06/09 14:46:33 joerg Exp $ */
/*-
* Copyright (c) 2008 SHIMIZU Ryo <ryo%nerv.org@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gcscaudio.c,v 1.6 2010/11/13 13:52:05 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gcscaudio.c,v 1.7 2011/06/09 14:46:33 joerg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -401,7 +401,7 @@
delay(1);
if (i < 0) {
- aprint_error_dev(&sc->sc_dev, timeout_msg);
+ aprint_error_dev(&sc->sc_dev, "%s", timeout_msg);
return 1;
}
Home |
Main Index |
Thread Index |
Old Index