Module Name: src Committed By: joerg Date: Thu Jun 9 14:46:33 UTC 2011
Modified Files: src/sys/dev/pci: gcscaudio.c Log Message: Use a format string when printing strings To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/pci/gcscaudio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/gcscaudio.c diff -u src/sys/dev/pci/gcscaudio.c:1.6 src/sys/dev/pci/gcscaudio.c:1.7 --- src/sys/dev/pci/gcscaudio.c:1.6 Sat Nov 13 13:52:05 2010 +++ src/sys/dev/pci/gcscaudio.c Thu Jun 9 14:46:33 2011 @@ -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 <r...@nerv.org> @@ -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; }