summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2020-03-10 08:41:20 +0000
committertobhe <tobhe@cvs.openbsd.org>2020-03-10 08:41:20 +0000
commit81e265e3d4106fabf8d9af89922e37f768abda27 (patch)
tree8131b128c8280056c109ed8341ff3541e9fd5243 /sys/dev/softraid.c
parentaf3528b165d5e718da7798fe4cf0b2910183062f (diff)
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;
}