summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authortobhe <tobhe@openbsd.org>2020-03-10 08:41:19 +0000
committertobhe <tobhe@openbsd.org>2020-03-10 08:41:19 +0000
commit981f179fb868c4b3ca32919fb43bffc2b8a3c9b4 (patch)
tree1391def092abb9622467bf98a0b4aaeb42c514d3 /sys/dev/softraid.c
parentAccess 4-byte address field with _4btol() not _8btol(), fixing (diff)
downloadwireguard-openbsd-981f179fb868c4b3ca32919fb43bffc2b8a3c9b4.tar.xz
wireguard-openbsd-981f179fb868c4b3ca32919fb43bffc2b8a3c9b4.zip
Remove unused argument to sr_error.
ok kn@ deraadt@
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 83667e7eda9..6ca8bbd19a6 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.398 2020/02/13 15:11:32 krw Exp $ */
+/* $OpenBSD: softraid.c,v 1.399 2020/03/10 08:41:19 tobhe Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -3769,7 +3769,7 @@ sr_ioctl_installboot(struct sr_softc *sc, struct sr_discipline *sd,
if (sr_rw(sc, chunk->src_dev_mm, bootblk, bbs,
SR_BOOT_BLOCKS_OFFSET, B_WRITE)) {
- sr_error(sc, "failed to write boot block", DEVNAME(sc));
+ sr_error(sc, "failed to write boot block");
goto done;
}