summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-06-29 13:23:13 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-06-29 13:23:13 +0000
commitf91447c3d9384a10304a77b35ed6961b311a5436 (patch)
tree75b570fa46a694b7b31b8220f3b1bd19a664e69e
parent307e5f88fcaa32c005a723955d20ca033dd4dd5f (diff)
bad format string; %s -> %d
ok tedu@
-rw-r--r--sys/dev/pci/if_sf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c
index 5649c231277..035ac07ced9 100644
--- a/sys/dev/pci/if_sf.c
+++ b/sys/dev/pci/if_sf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sf.c,v 1.19 2003/01/15 06:31:24 art Exp $ */
+/* $OpenBSD: if_sf.c,v 1.20 2003/06/29 13:23:12 avsm Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -717,7 +717,7 @@ void sf_attach(parent, self, aux)
sc->sf_ldata_ptr = malloc(sizeof(struct sf_list_data) + 8,
M_DEVBUF, M_NOWAIT);
if (sc->sf_ldata_ptr == NULL) {
- printf("%s: no memory for list buffers!\n", sc->sf_unit);
+ printf("sf%d: no memory for list buffers!\n", sc->sf_unit);
goto fail;
}