Download raw body.
Misspelled word in pax code (trivial)
This is just a misspelled word (deferred) I found while looking at the
pax(1) code.
Index: tables.c
===================================================================
RCS file: /cvs/src/bin/pax/tables.c,v
diff -u -p -r1.55 tables.c
--- tables.c 26 Nov 2023 16:04:17 -0000 1.55
+++ tables.c 18 May 2024 12:48:56 -0000
@@ -693,12 +693,12 @@ sltab_add_sym(const char *path0, const c
return (-1);
}
} else if ((path = strdup(path0)) == NULL) {
- syswarn(1, errno, "defered symlink path");
+ syswarn(1, errno, "deferred symlink path");
unlink(path0);
return (-1);
}
if ((value = strdup(value0)) == NULL) {
- syswarn(1, errno, "defered symlink value");
+ syswarn(1, errno, "deferred symlink value");
unlink(path);
free(path);
return (-1);
@@ -729,7 +729,7 @@ sltab_add_sym(const char *path0, const c
/* Normal case: create a new node */
if ((s = malloc(sizeof *s)) == NULL) {
- syswarn(1, errno, "defered symlink");
+ syswarn(1, errno, "deferred symlink");
unlink(path);
free(path);
free(value);
@@ -784,7 +784,7 @@ sltab_add_link(const char *path, const s
return (-1);
}
} else if ((p->sp_path = strdup(path)) == NULL) {
- syswarn(1, errno, "defered symlink hardlink path");
+ syswarn(1, errno, "deferred symlink hardlink path");
free(p);
return (-1);
}
Misspelled word in pax code (trivial)