summaryrefslogtreecommitdiffstats
path: root/sbin/gbde
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-03 11:10:34 +0000
committerdes <des@FreeBSD.org>2004-02-03 11:10:34 +0000
commitbd77f8c94f7b577f27dd0940ad0cc009abe37af3 (patch)
tree539246b02c516d8baa9dac16ee16673f7380f06c /sbin/gbde
parent67b23eb794461dfce1e1ace43b6a2e7009a0a839 (diff)
downloadFreeBSD-src-bd77f8c94f7b577f27dd0940ad0cc009abe37af3.zip
FreeBSD-src-bd77f8c94f7b577f27dd0940ad0cc009abe37af3.tar.gz
Remove newline characters from error strings.
Diffstat (limited to 'sbin/gbde')
-rw-r--r--sbin/gbde/gbde.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/gbde/gbde.c b/sbin/gbde/gbde.c
index 6acd0f1..713bf9a 100644
--- a/sbin/gbde/gbde.c
+++ b/sbin/gbde/gbde.c
@@ -276,7 +276,7 @@ cmd_attach(const struct g_bde_softc *sc, const char *dest, const char *lfile)
/* gctl_dump(r, stdout); */
errstr = gctl_issue(r);
if (errstr != NULL)
- errx(1, "Attach to %s failed: %s\n", dest, errstr);
+ errx(1, "Attach to %s failed: %s", dest, errstr);
exit (0);
}
@@ -296,7 +296,7 @@ cmd_detach(const char *dest)
/* gctl_dump(r, stdout); */
errstr = gctl_issue(r);
if (errstr != NULL)
- errx(1, "Detach of %s failed: %s\n", dest, errstr);
+ errx(1, "Detach of %s failed: %s", dest, errstr);
exit (0);
}
OpenPOWER on IntegriCloud