summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2020-12-08 17:33:50 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2020-12-08 17:33:50 +0000
commit61f827c28b005df234e641eb097169f9a6a9f704 (patch)
treefffda460b860445ec76912be471bc02bb26927ab
parente5f335830db05ddecd43b6bafd27eecf52349700 (diff)
fix wrong function names in softraid RAID1 debug print statements
ok jsing@ as part of a larger diff
-rw-r--r--sys/dev/softraid_raid1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_raid1.c b/sys/dev/softraid_raid1.c
index 055b8868dfa..b24183c879d 100644
--- a/sys/dev/softraid_raid1.c
+++ b/sys/dev/softraid_raid1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_raid1.c,v 1.65 2016/04/12 16:26:54 krw Exp $ */
+/* $OpenBSD: softraid_raid1.c,v 1.66 2020/12/08 17:33:49 stsp Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -107,7 +107,7 @@ sr_raid1_set_chunk_state(struct sr_discipline *sd, int c, int new_state)
{
int old_state, s;
- DNPRINTF(SR_D_STATE, "%s: %s: %s: sr_raid_set_chunk_state %d -> %d\n",
+ DNPRINTF(SR_D_STATE, "%s: %s: %s: sr_raid1_set_chunk_state %d -> %d\n",
DEVNAME(sd->sd_sc), sd->sd_meta->ssd_devname,
sd->sd_vol.sv_chunks[c]->src_meta.scmi.scm_devname, c, new_state);
@@ -197,7 +197,7 @@ sr_raid1_set_vol_state(struct sr_discipline *sd)
int new_state, i, s, nd;
int old_state = sd->sd_vol_status;
- DNPRINTF(SR_D_STATE, "%s: %s: sr_raid_set_vol_state\n",
+ DNPRINTF(SR_D_STATE, "%s: %s: sr_raid1_set_vol_state\n",
DEVNAME(sd->sd_sc), sd->sd_meta->ssd_devname);
nd = sd->sd_meta->ssdi.ssd_chunk_no;