summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRuediger Meier2016-11-01 19:40:33 +0100
committerRuediger Meier2016-11-30 14:56:50 +0100
commit223939d95b086ee56b780e34d7abf1fe59afbeb2 (patch)
treec06939326c2a94e913322615c06ee5b13778e53c /lib
parenttests: update sfdisk output (diff)
downloadkernel-qcow2-util-linux-223939d95b086ee56b780e34d7abf1fe59afbeb2.tar.gz
kernel-qcow2-util-linux-223939d95b086ee56b780e34d7abf1fe59afbeb2.tar.xz
kernel-qcow2-util-linux-223939d95b086ee56b780e34d7abf1fe59afbeb2.zip
misc: spelling, always use "cannot" instead of "can not"
Just to be consistent ... Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/plymouth-ctrl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plymouth-ctrl.c b/lib/plymouth-ctrl.c
index 6cda7c80f..75d8b9342 100644
--- a/lib/plymouth-ctrl.c
+++ b/lib/plymouth-ctrl.c
@@ -69,13 +69,13 @@ static int open_un_socket_and_connect(void)
fd = socket(PF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
if (fd < 0) {
- warnx(_("can not open UNIX socket"));
+ warnx(_("cannot open UNIX socket"));
goto err;
}
ret = setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &one, (socklen_t)sizeof(one));
if (ret < 0) {
- warnx(_("can not set option for UNIX socket"));
+ warnx(_("cannot set option for UNIX socket"));
close(fd);
fd = -1;
goto err;
@@ -88,7 +88,7 @@ static int open_un_socket_and_connect(void)
ret = connect(fd, &su, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1));
if (ret < 0) {
if (errno != ECONNREFUSED)
- warnx(_("can not connect on UNIX socket"));
+ warnx(_("cannot connect on UNIX socket"));
close(fd);
fd = -1;
goto err;