aboutsummaryrefslogtreecommitdiffstats
diff options
authorTom Schwindl <schwindl@posteo.de>2023-03-08 21:01:11 +0000
committerAlejandro Colomar <alx@kernel.org>2023-03-09 00:12:28 +0100
commit88163675125a0facf3709eea30239734119d2459 (patch)
tree5d4fe3595440d1840b422df84b96189cb3883280
parent1a35f5b7d4f866e0b711a98a0afa9bb275b04675 (diff)
downloadman-pages-88163675125a0facf3709eea30239734119d2459.tar.gz
man*/: ffix
Signed-off-by: Tom Schwindl <schwindl@posteo.de> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3head/printf.h.3head6
-rw-r--r--man7/landlock.74
2 files changed, 5 insertions, 5 deletions
diff --git a/man3head/printf.h.3head b/man3head/printf.h.3head
index af743623ba..8f1aa6a37e 100644
--- a/man3head/printf.h.3head
+++ b/man3head/printf.h.3head
@@ -288,9 +288,9 @@ static ssize_t pad_spaces(FILE *stream, size_t pad_len);
int
main(void)
{
- if (register_printf_specifier(\[aq]b\[aq], b_printf, b_arginf_sz) == -1)
+ if (register_printf_specifier(\[aq]b\[aq], b_printf, b_arginf_sz) == \-1)
err(EXIT_FAILURE, "register_printf_specifier(\[aq]b\[aq], ...)");
- if (register_printf_specifier(\[aq]B\[aq], b_printf, b_arginf_sz) == -1)
+ if (register_printf_specifier(\[aq]B\[aq], b_printf, b_arginf_sz) == \-1)
err(EXIT_FAILURE, "register_printf_specifier(\[aq]B\[aq], ...)");
printf("....----....----....----....----\en");
@@ -410,7 +410,7 @@ b_arginf_sz(const struct printf_info *info, size_t n, int argtypes[n],
[[maybe_unused]] int size[n])
{
if (n < 1)
- return -1;
+ return \-1;
if (info\->is_long_double)
argtypes[0] = PA_INT | PA_FLAG_LONG_LONG;
diff --git a/man7/landlock.7 b/man7/landlock.7
index b2bc9e10b0..bbe00d4c27 100644
--- a/man7/landlock.7
+++ b/man7/landlock.7
@@ -245,7 +245,7 @@ attr.handled_access_fs =
LANDLOCK_ACCESS_FS_MAKE_SYM;
ruleset_fd = landlock_create_ruleset(&attr, sizeof(attr), 0);
-if (ruleset_fd == -1) {
+if (ruleset_fd == \-1) {
perror("Failed to create a ruleset");
exit(EXIT_FAILURE);
}
@@ -276,7 +276,7 @@ path_beneath.allowed_access =
LANDLOCK_ACCESS_FS_READ_DIR;
path_beneath.parent_fd = open("/usr", O_PATH | O_CLOEXEC);
-if (path_beneath.parent_fd == -1) {
+if (path_beneath.parent_fd == \-1) {
perror("Failed to open file");
close(ruleset_fd);
exit(EXIT_FAILURE);