]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
misc: spelling, always use "cannot" instead of "can not"
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 1 Nov 2016 18:40:33 +0000 (19:40 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 30 Nov 2016 13:56:50 +0000 (14:56 +0100)
Just to be consistent ...

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
disk-utils/fsck.8
lib/plymouth-ctrl.c
libblkid/src/tag.c
libfdisk/src/dos.c
login-utils/login.1
login-utils/sulogin-consoles.c
login-utils/sulogin.c
misc-utils/getopt.1
sys-utils/lscpu.c
term-utils/agetty.8
term-utils/setterm.c

index df007f16028262d824ad55ff748863090909c994..819c69f5bafe265909c5c6711e4e76d7054a8cc7 100644 (file)
@@ -197,7 +197,7 @@ Normally, the filesystem type is deduced by searching for
 in the
 .I /etc/fstab
 file and using the corresponding entry.
-If the type can not be deduced, and there is only a single filesystem
+If the type cannot be deduced, and there is only a single filesystem
 given as an argument to the
 .B \-t
 option,
index 6cda7c80f5c4da13213b03888de66d7ede99e8d8..75d8b93429931231728af3cbf59dcadff1b3009d 100644 (file)
@@ -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;
index 9b131ae47d60ac9472cb4575c37ea97734cbed9c..f07d058f8a472efbeecd48021290cb7ea16f4a3d 100644 (file)
@@ -441,7 +441,7 @@ int main(int argc, char **argv)
 
        dev = blkid_get_dev(cache, devname, flags);
        if (!dev) {
-               fprintf(stderr, "%s: Can not find device in blkid cache\n",
+               fprintf(stderr, "%s: cannot find device in blkid cache\n",
                        devname);
                exit(1);
        }
index 5ea56c2ed6a5c0527c1392af018bfbada3bde932..b2c6a58ebed40cb1cd90e8ebeac3b98e42484a7d 100644 (file)
@@ -346,7 +346,7 @@ static void dos_init(struct fdisk_context *cxt)
                                           | SIZE_SUFFIX_3LETTER, bytes);
                fdisk_warnx(cxt,
                _("The size of this disk is %s (%ju bytes). DOS "
-                 "partition table format can not be used on drives for "
+                 "partition table format cannot be used on drives for "
                  "volumes larger than %lu bytes for %lu-byte "
                  "sectors. Use GUID partition table format (GPT)."),
                        szstr, bytes,
index 551d3b2d7f4ab9c29ad24e556170b8abc9dab851..d74e96220cb974046e98d01482a9bdfd15bbbc9e 100644 (file)
@@ -233,7 +233,7 @@ item is empty, then all the checks are disabled.
 .B DEFAULT_HOME
 (boolean)
 .RS 4
-Indicate if login is allowed if we can not change directory to the
+Indicate if login is allowed if we cannot change directory to the
 home directory.  If set to
 .IR yes ,
 the user will login in the root (/) directory if it is not possible
index 595b5165da8ed3ac8837e1022fdffd51d2ab7d4d..532e7e7c72b67900c4f139b49945d168cdb29f98 100644 (file)
@@ -113,7 +113,7 @@ void emergency_do_mounts(void)
        }
 
        if (stat("/", &rt) != 0) {
-               warn("can not get file status of root file system\n");
+               warn("cannot get file status of root file system\n");
                return;
        }
 
index 1c4313af4647b7b1c67d9deda9210b70874a5745..a44216bda091d9ce8731ff0a90a1793592bbca89 100644 (file)
@@ -1012,7 +1012,7 @@ int main(int argc, char **argv)
                                mask_signal(SIGINT,  SIG_IGN, &saved_sigint);
 
                                if (failed) {
-                                       fprintf(stderr, _("Can not execute su shell\n\n"));
+                                       fprintf(stderr, _("cannot execute su shell\n\n"));
                                        break;
                                }
                                fprintf(stderr, _("Login incorrect\n\n"));
@@ -1051,7 +1051,7 @@ int main(int argc, char **argv)
                                continue;
                }
 
-               errx(EXIT_FAILURE, _("Can not wait on su shell\n\n"));
+               errx(EXIT_FAILURE, _("cannot wait on su shell\n\n"));
 
        } while (1);
 
index 7cde03376ef2aa37108813f78ba4ebbf01401079..62fd8aa878862b709e55f802f8332071b5bc4af1 100644 (file)
@@ -437,7 +437,7 @@ to use the first calling format as specified in the
 .SH BUGS
 .BR getopt (3)
 can parse long options with optional arguments that are given an
-empty optional argument (but can not do this for short options).
+empty optional argument (but cannot do this for short options).
 This
 .BR getopt (1)
 treats optional arguments that are empty as if they were not present.
index bd702b0ae13f5a9699365e125546e06e2c2a8493..e3e6ff65c971093267511bab7669f22f990a70e4 100644 (file)
@@ -886,12 +886,12 @@ is_vmware_platform(void)
        act.sa_flags = SA_SIGINFO;
 
        if (sigaction(SIGSEGV, &act, &oact))
-               err(EXIT_FAILURE, _("error: can not set signal handler"));
+               err(EXIT_FAILURE, _("cannot set signal handler"));
 
        vmware_bdoor(&eax, &ebx, &ecx, &edx);
 
        if (sigaction(SIGSEGV, &oact, NULL))
-               err(EXIT_FAILURE, _("error: can not restore signal handler"));
+               err(EXIT_FAILURE, _("cannot restore signal handler"));
 
        return eax != (uint32_t)-1 && ebx == VMWARE_BDOOR_MAGIC;
 }
index 446f389495691772ec7dd176ffab327939eb5c8f..3dbbb8944cbbf999af80a8a0b6b20968287023e7 100644 (file)
@@ -305,7 +305,7 @@ which then get passed to the used login program.  Agetty does check
 for a leading "\-" and makes sure the logname gets passed as one parameter
 (so embedded spaces will not create yet another parameter), but depending
 on how the login binary parses the command line that might not be sufficient.
-Check that the used login program can not be abused this way.
+Check that the used login program cannot be abused this way.
 .PP
 Some  programs use "\-\-" to indicate that the rest of the commandline should
 not be interpreted as options.  Use this feature if available by passing "\-\-"
index e2c627a614f47585a829d732e824a8e971e6596d..f1cdd24078b26475ab41fc6d19f7ddc393fc1600 100644 (file)
@@ -768,7 +768,7 @@ static void screendump(struct setterm_control *ctl)
                ctl->opt_sn_name = "screen.dump";
        out = fopen(ctl->opt_sn_name, ctl->opt_snap ? "w" : "a");
        if (!out)
-               err(EXIT_DUMPFILE, _("can not open dump file %s for output"), ctl->opt_sn_name);
+               err(EXIT_DUMPFILE, _("cannot open dump file %s for output"), ctl->opt_sn_name);
        /* determine snapshot size */
        if (read(fd, header, 4) != 4)
                err(EXIT_DUMPFILE, _("cannot read %s"), ctl->in_device);