summaryrefslogtreecommitdiffstats
path: root/sys/gnu
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-11 19:26:53 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-11 19:26:53 +0000
commit0e1db07cf9044a3bbfd713ff85528c129ed754ba (patch)
tree461a2b653690a240b421c8d7ee556596a41c3c5b /sys/gnu
parente3b120088fc0412693845ad0df34cf1d3551744d (diff)
downloadFreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.zip
FreeBSD-src-0e1db07cf9044a3bbfd713ff85528c129ed754ba.tar.gz
Fix -Wformat warnings from LINT kernel.
Diffstat (limited to 'sys/gnu')
-rw-r--r--sys/gnu/i386/isa/nic3008.c11
-rw-r--r--sys/gnu/i386/isa/nic3009.c12
2 files changed, 17 insertions, 6 deletions
diff --git a/sys/gnu/i386/isa/nic3008.c b/sys/gnu/i386/isa/nic3008.c
index 084ff3f..ce14be8 100644
--- a/sys/gnu/i386/isa/nic3008.c
+++ b/sys/gnu/i386/isa/nic3008.c
@@ -1,6 +1,6 @@
-static char nic38_id[] = "@(#)$Id: nic3008.c,v 1.3 1995/03/19 14:28:35 davidg Exp $";
+static char nic38_id[] = "@(#)$Id: nic3008.c,v 1.4 1995/03/28 07:54:31 bde Exp $";
/*******************************************************************************
- * II - Version 0.1 $Revision: 1.3 $ $State: Exp $
+ * II - Version 0.1 $Revision: 1.4 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
@@ -10,6 +10,11 @@ static char nic38_id[] = "@(#)$Id: nic3008.c,v 1.3 1995/03/19 14:28:35 david
*
*******************************************************************************
* $Log: nic3008.c,v $
+ * Revision 1.4 1995/03/28 07:54:31 bde
+ * Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
+ * (except in netccitt, netiso and netns) that I didn't notice when I fixed
+ * "all" such warnings before.
+ *
* Revision 1.3 1995/03/19 14:28:35 davidg
* Removed redundant newlines that were in some panic strings.
*
@@ -133,7 +138,7 @@ nicprobe(struct isa_device * is)
if (cstrcmp(dpr->niccy_ver, "NICCY V ") == 0)
{
- printf("NICCY NICCY-Card %d not found at %x\n"
+ printf("NICCY NICCY-Card %d not found at %p\n"
,is->id_unit, is->id_maddr);
return (0);
}
diff --git a/sys/gnu/i386/isa/nic3009.c b/sys/gnu/i386/isa/nic3009.c
index af84c50..1816ee5 100644
--- a/sys/gnu/i386/isa/nic3009.c
+++ b/sys/gnu/i386/isa/nic3009.c
@@ -1,6 +1,6 @@
-static char nic39_id[] = "@(#)$Id: nic3009.c,v 1.4 1995/02/16 08:06:21 jkh Exp $";
+static char nic39_id[] = "@(#)$Id: nic3009.c,v 1.5 1995/03/28 07:54:33 bde Exp $";
/*******************************************************************************
- * II - Version 0.1 $Revision: 1.4 $ $State: Exp $
+ * II - Version 0.1 $Revision: 1.5 $ $State: Exp $
*
* Copyright 1994 Dietmar Friede
*******************************************************************************
@@ -10,6 +10,11 @@ static char nic39_id[] = "@(#)$Id: nic3009.c,v 1.4 1995/02/16 08:06:21 jkh E
*
*******************************************************************************
* $Log: nic3009.c,v $
+ * Revision 1.5 1995/03/28 07:54:33 bde
+ * Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
+ * (except in netccitt, netiso and netns) that I didn't notice when I fixed
+ * "all" such warnings before.
+ *
* Revision 1.4 1995/02/16 08:06:21 jkh
* Fix a few bogons introduced when config lost the 3 char limitation.
*
@@ -144,7 +149,8 @@ nnicprobe(struct isa_device * is)
for (i=0;i<DPR_LEN;i++)
if (w[i] != ((i+0xaf) & 0xff))
{
- printf("Niccy card not found or bad memory %x\n",is->id_maddr);
+ printf("Niccy card not found or bad memory %p\n",
+ is->id_maddr);
outb(sc->sc_port, 0);
return(0);
}
OpenPOWER on IntegriCloud