diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-03-25 21:29:05 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-03-25 21:29:05 +0000 |
commit | b29dfc3165c84da04af12567cf90ac60fea2bf08 (patch) | |
tree | 2108d40e5698d6eff2f8093be7b36354ee9865cc /sys/dev/softraid_raid0.c | |
parent | 0aa5331262a34fc54cb5ab165e8c4761fa6c7e8b (diff) |
Add missing %s in sr_error, otherwise 'sd->sd_name' is not printed.
ok kn@
Diffstat (limited to 'sys/dev/softraid_raid0.c')
-rw-r--r-- | sys/dev/softraid_raid0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid_raid0.c b/sys/dev/softraid_raid0.c index 2ce070d20ad..058e141682e 100644 --- a/sys/dev/softraid_raid0.c +++ b/sys/dev/softraid_raid0.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_raid0.c,v 1.52 2016/04/12 16:26:54 krw Exp $ */ +/* $OpenBSD: softraid_raid0.c,v 1.53 2020/03/25 21:29:04 tobhe Exp $ */ /* * Copyright (c) 2008 Marco Peereboom <marco@peereboom.us> * @@ -101,7 +101,7 @@ sr_raid0_init(struct sr_discipline *sd) sd->mds.mdd_raid0.sr0_strip_bits = sr_validate_stripsize(sd->sd_meta->ssdi.ssd_strip_size); if (sd->mds.mdd_raid0.sr0_strip_bits == -1) { - sr_error(sd->sd_sc, "invalid strip size", sd->sd_name); + sr_error(sd->sd_sc, "%s: invalid strip size", sd->sd_name); return EINVAL; } sd->sd_max_ccb_per_wu = |