Module Name: src
Committed By: scw
Date: Sat Apr 11 11:04:42 UTC 2009
Modified Files:
src/sys/arch/mvme68k/mvme68k: disksubr.c
Log Message:
Fix previous. printlp() and printclp() are not varargs functions.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/mvme68k/mvme68k/disksubr.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/arch/mvme68k/mvme68k/disksubr.c
diff -u src/sys/arch/mvme68k/mvme68k/disksubr.c:1.33 src/sys/arch/mvme68k/mvme68k/disksubr.c:1.34
--- src/sys/arch/mvme68k/mvme68k/disksubr.c:1.33 Sat Jan 12 09:54:29 2008
+++ src/sys/arch/mvme68k/mvme68k/disksubr.c Sat Apr 11 11:04:41 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.33 2008/01/12 09:54:29 tsutsui Exp $ */
+/* $NetBSD: disksubr.c,v 1.34 2009/04/11 11:04:41 scw Exp $ */
/*
* Copyright (c) 1995 Dale Rahn.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.33 2008/01/12 09:54:29 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.34 2009/04/11 11:04:41 scw Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -101,8 +101,8 @@
cputobsdlabel(lp, clp);
#ifdef DEBUG
if(disksubr_debug > 0) {
- printlp(lp, "%s:bsd label", __func__);
- printclp(clp, "%s:cpu label", __func__);
+ printlp(lp, "readdisklabel: bsd label");
+ printclp(clp, "readdisklabel: cpu label");
}
#endif
return msg;
@@ -121,9 +121,9 @@
#ifdef DEBUG
if (disksubr_debug > 0) {
- printlp(nlp, "%s:new disklabel", __func__);
- printlp(olp, "%s:old disklabel", __func__);
- printclp(clp, "%s:cpu disklabel", __func__);
+ printlp(nlp, "setdisklabel: new disklabel");
+ printlp(olp, "setdisklabel: old disklabel");
+ printclp(clp, "setdisklabel:cpu disklabel");
}
#endif
@@ -169,7 +169,7 @@
*olp = *nlp;
#ifdef DEBUG
if(disksubr_debug > 0) {
- printlp(olp, "%s:old->new disklabel", __func__);
+ printlp(olp, "setdisklabel: old->new disklabel");
}
#endif
return 0;
@@ -187,7 +187,7 @@
#ifdef DEBUG
if(disksubr_debug > 0) {
- printlp(lp, "%s: bsd label", __func__);
+ printlp(lp, "writedisklabel: bsd label");
}
#endif
@@ -220,7 +220,7 @@
#ifdef DEBUG
if (disksubr_debug > 0) {
- printclp(clp, "%s:cpu label", __func__);
+ printclp(clp, "writedisklabel: cpu label");
}
#endif