Just to be consistent ...
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
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,
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;
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;
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);
}
| 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,
.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
}
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;
}
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"));
continue;
}
- errx(EXIT_FAILURE, _("Can not wait on su shell\n\n"));
+ errx(EXIT_FAILURE, _("cannot wait on su shell\n\n"));
} while (1);
.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.
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;
}
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 "\-\-"
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);