Merge branch 'fix-manpage-newline' of https://github.com/goldsteinn/liburing
* 'fix-manpage-newline' of https://github.com/goldsteinn/liburing:
fixed newline character in man. $> man -l io_uring.7 would display 0 instead of backslash n
diff --git a/man/io_uring.7 b/man/io_uring.7
index d371afb..a63b3e9 100644
--- a/man/io_uring.7
+++ b/man/io_uring.7
@@ -637,7 +637,7 @@
/* Get the entry */
cqe = &cqes[head & (*cring_mask)];
if (cqe->res < 0)
- fprintf(stderr, "Error: %s\n", strerror(abs(cqe->res)));
+ fprintf(stderr, "Error: %s\\n", strerror(abs(cqe->res)));
head++;
@@ -698,7 +698,7 @@
/* Setup io_uring for use */
if(app_setup_uring()) {
- fprintf(stderr, "Unable to setup uring!\n");
+ fprintf(stderr, "Unable to setup uring!\\n");
return 1;
}
@@ -721,7 +721,7 @@
}
else if (res < 0) {
/* Error reading file */
- fprintf(stderr, "Error: %s\n", strerror(abs(res)));
+ fprintf(stderr, "Error: %s\\n", strerror(abs(res)));
break;
}
offset += res;