mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove newline characters from error strings.
This commit is contained in:
parent
87e1ee7afb
commit
efdda83ea8
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue