aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/fopencookie.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-06-15 20:29:33 +0200
committerAlejandro Colomar <alx@kernel.org>2024-06-15 20:44:44 +0200
commitf8fac7b28e2adb3a7a7ab7f7f28dd764f9c8ea7a (patch)
tree67133d81bc54c1d773a2919e5d81120f770b26fb /man/man3/fopencookie.3
parent6fc32a0a6ae2cedf2e954b8b48cf8ba0d5ddf2a1 (diff)
downloadman-pages-f8fac7b28e2adb3a7a7ab7f7f28dd764f9c8ea7a.tar.gz
man/: srcfix: Use \[rs] instead of \e
Scripted change: $ find man -type f \ | xargs grep -l '\\e' \ | xargs sed -i 's/\\e/\\[rs]/g'; Link: <https://lore.kernel.org/linux-man/20240611122453.qn6jyl4go4bvwkqm@illithid/> Suggested-by: "G. Branden Robinson" <branden@debian.org> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man3/fopencookie.3')
-rw-r--r--man/man3/fopencookie.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/fopencookie.3 b/man/man3/fopencookie.3
index d1821772cb..9c31c9bf1e 100644
--- a/man/man3/fopencookie.3
+++ b/man/man3/fopencookie.3
@@ -433,14 +433,14 @@ main(int argc, char *argv[])
nread = fread(buf, 1, 2, stream);
if (nread == 0) {
if (ferror(stream) != 0) {
- fprintf(stderr, "fread failed\en");
+ fprintf(stderr, "fread failed\[rs]n");
exit(EXIT_FAILURE);
}
- printf("Reached end of file\en");
+ printf("Reached end of file\[rs]n");
break;
}
\&
- printf("/%.*s/\en", (int) nread, buf);
+ printf("/%.*s/\[rs]n", (int) nread, buf);
}
\&
free(mycookie.buf);