summaryrefslogtreecommitdiff
path: root/sys/dev/softraid_crypto.c
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2015-07-27 04:11:59 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2015-07-27 04:11:59 +0000
commit0c6dde6f1263ab144a53b0a8b2b234cda2dbf52f (patch)
treed46789e555a18f0ce139410e483db5212f942fc5 /sys/dev/softraid_crypto.c
parent6d4983d05df6bc24b7225d17002a91270b65a5ba (diff)
zap trailing linefeeds from sr_error() and panic() calls
ok jsing@
Diffstat (limited to 'sys/dev/softraid_crypto.c')
-rw-r--r--sys/dev/softraid_crypto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c
index b72009033a7..c9a94c3462c 100644
--- a/sys/dev/softraid_crypto.c
+++ b/sys/dev/softraid_crypto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid_crypto.c,v 1.121 2015/07/21 03:30:51 krw Exp $ */
+/* $OpenBSD: softraid_crypto.c,v 1.122 2015/07/27 04:11:58 halex Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org>
@@ -655,7 +655,7 @@ sr_crypto_create_key_disk(struct sr_discipline *sd, dev_t dev)
goto fail;
}
if (label.d_partitions[part].p_fstype != FS_RAID) {
- sr_error(sc, "%s partition not of type RAID (%d)\n",
+ sr_error(sc, "%s partition not of type RAID (%d)",
devname, label.d_partitions[part].p_fstype);
goto fail;
}
@@ -825,7 +825,7 @@ sr_crypto_read_key_disk(struct sr_discipline *sd, dev_t dev)
goto done;
}
if (label.d_partitions[part].p_fstype != FS_RAID) {
- sr_error(sc, "%s partition not of type RAID (%d)\n",
+ sr_error(sc, "%s partition not of type RAID (%d)",
devname, label.d_partitions[part].p_fstype);
goto done;
}