Fix a few format strings (hidden by option ifdefs)

This commit is contained in:
martin 2008-03-18 10:04:14 +00:00
parent de88169824
commit 4882fcc17f
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: apmbios.c,v 1.9 2008/03/07 21:45:07 cube Exp $ */
/* $NetBSD: apmbios.c,v 1.10 2008/03/18 10:04:14 martin Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: apmbios.c,v 1.9 2008/03/07 21:45:07 cube Exp $");
__KERNEL_RCSID(0, "$NetBSD: apmbios.c,v 1.10 2008/03/18 10:04:14 martin Exp $");
#include "opt_apm.h"
#include "opt_compat_mach.h" /* Needed to get the right segment def */
@ -496,7 +496,7 @@ apmbiosattach(struct device *parent, struct device *self,
res = kvm86_bioscall_simple(APM_SYSTEM_BIOS, &regs);
if (res) {
aprint_error_dev(self,
"%s: kvm86 error (APM_INSTALLATION_CHECK)\n");
"kvm86 error (APM_INSTALLATION_CHECK)\n");
goto bail_disconnected;
}
#else
@ -517,7 +517,7 @@ apmbiosattach(struct device *parent, struct device *self,
#ifdef APM_USE_KVM86
res = kvm86_bioscall_simple(APM_SYSTEM_BIOS, &regs);
if (res) {
aprint_error_dev(self, "%s: kvm86 error (APM_DISCONNECT)\n");
aprint_error_dev(self, "kvm86 error (APM_DISCONNECT)\n");
goto bail_disconnected;
}
#else
@ -541,7 +541,7 @@ apmbiosattach(struct device *parent, struct device *self,
res = kvm86_bioscall_simple(APM_SYSTEM_BIOS, &regs);
if (res) {
aprint_error_dev(self,
"%s: kvm86 error (APM_32BIT_CONNECT)\n");
"kvm86 error (APM_32BIT_CONNECT)\n");
goto bail_disconnected;
}
#else