summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/ctld.c
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-04-16 11:05:57 +0000
committertrasz <trasz@FreeBSD.org>2014-04-16 11:05:57 +0000
commitdcde441db642a39b3622a5f96db0d08335117b5c (patch)
tree8d9b674a873d33cfdd82a6aba7b18edde607207d /usr.sbin/ctld/ctld.c
parent5094b33e15b54ce9f0eedde5ebf8abb51a558ca8 (diff)
downloadFreeBSD-src-dcde441db642a39b3622a5f96db0d08335117b5c.zip
FreeBSD-src-dcde441db642a39b3622a5f96db0d08335117b5c.tar.gz
Use consistent punctuation.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/ctld/ctld.c')
-rw-r--r--usr.sbin/ctld/ctld.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ctld/ctld.c b/usr.sbin/ctld/ctld.c
index 636f9b8..947e4d2 100644
--- a/usr.sbin/ctld/ctld.c
+++ b/usr.sbin/ctld/ctld.c
@@ -1214,7 +1214,7 @@ conf_apply(struct conf *oldconf, struct conf *newconf)
log_debugx("enabling CTL iSCSI port");
error = kernel_port_on();
if (error != 0)
- log_errx(1, "failed to enable CTL iSCSI port, exiting");
+ log_errx(1, "failed to enable CTL iSCSI port; exiting");
} else {
error = kernel_port_off();
if (error != 0)
@@ -1839,7 +1839,7 @@ main(int argc, char **argv)
oldconf = conf_new_from_kernel();
newconf = conf_new_from_file(config_path);
if (newconf == NULL)
- log_errx(1, "configuration error, exiting");
+ log_errx(1, "configuration error; exiting");
if (debug > 0) {
oldconf->conf_debug = debug;
newconf->conf_debug = debug;
@@ -1847,7 +1847,8 @@ main(int argc, char **argv)
error = conf_apply(oldconf, newconf);
if (error != 0)
- log_errx(1, "failed to apply configuration, exiting");
+ log_errx(1, "failed to apply configuration; exiting");
+
conf_delete(oldconf);
oldconf = NULL;
OpenPOWER on IntegriCloud