aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-23 21:38:40 +0200
committerMattias Andrée <maandree@kth.se>2023-06-23 21:38:40 +0200
commit77e1bdd9a9806793b1789d733777d33c50f51739 (patch)
treed19d90affa04372f09eef6c8c61e270364c11991
parentAdd reference to editasroot (diff)
downloadasroot-77e1bdd9a9806793b1789d733777d33c50f51739.tar.gz
asroot-77e1bdd9a9806793b1789d733777d33c50f51739.tar.bz2
asroot-77e1bdd9a9806793b1789d733777d33c50f51739.tar.xz
Fix typos
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--asroot.82
-rw-r--r--asroot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asroot.8 b/asroot.8
index 28dd56e..2eea39e 100644
--- a/asroot.8
+++ b/asroot.8
@@ -91,7 +91,7 @@ None.
.SH EXIT STATUS
If the
.B asroot
-utility fails it will exit withone of the following statuses:
+utility fails it will exit with one of the following statuses:
.TP
125
A error occurred.
diff --git a/asroot.c b/asroot.c
index eefb81c..df6f339 100644
--- a/asroot.c
+++ b/asroot.c
@@ -237,7 +237,7 @@ check_password(void)
for (;;) {
hostname = realloc(hostname, size *= 2);
if (!hostname) {
- fprintf(stderr, "%s: realloc1 %zu: %s\n", argv0, size, strerror(errno));
+ fprintf(stderr, "%s: realloc %zu: %s\n", argv0, size, strerror(errno));
}
*hostname = 0;
if (!gethostname(hostname, size)) {