From 223939d95b086ee56b780e34d7abf1fe59afbeb2 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Tue, 1 Nov 2016 19:40:33 +0100 Subject: misc: spelling, always use "cannot" instead of "can not" Just to be consistent ... Signed-off-by: Ruediger Meier --- lib/plymouth-ctrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/plymouth-ctrl.c') 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; -- cgit v1.2.3-55-g7522