summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2003-06-29 13:23:12 +0000
committeravsm <avsm@openbsd.org>2003-06-29 13:23:12 +0000
commit051c279a6914dc7e6679e940e61358746947916a (patch)
tree43bcd2c9f96b92e29351002bf3a826101bb75f68
parentremove superfluous semicolon; (diff)
downloadwireguard-openbsd-051c279a6914dc7e6679e940e61358746947916a.tar.xz
wireguard-openbsd-051c279a6914dc7e6679e940e61358746947916a.zip
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;
}