diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-09 22:08:50 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-09 22:08:50 +0100 |
| commit | 0a23e9aac0693939675bb27f18cc099a8e8b424b (patch) | |
| tree | 53f11b0aa2715da238fbf6e696160d235a8361b0 /man3 | |
| parent | 9fd0c2f252de99a20dd6958d33afefd0a0e41137 (diff) | |
| download | man-pages-0a23e9aac0693939675bb27f18cc099a8e8b424b.tar.gz | |
mprotect.2, readv.2, sigaltstack.2, sigreturn.2, ctime.3, scandir.3, random.4, pkeys.7: ffix: s/-1/\-1/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/ctime.3 | 2 | ||||
| -rw-r--r-- | man3/scandir.3 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/man3/ctime.3 b/man3/ctime.3 index 3aeb1c6920..89107975b2 100644 --- a/man3/ctime.3 +++ b/man3/ctime.3 @@ -307,7 +307,7 @@ expressed as a value of type On error, .BR mktime () returns the value -.IR "(time_t)\ -1" . +.IR "(time_t)\ \-1" . The remaining functions return NULL on error. On error, .I errno diff --git a/man3/scandir.3 b/man3/scandir.3 index 328c70f690..83a5eea7d2 100644 --- a/man3/scandir.3 +++ b/man3/scandir.3 @@ -304,7 +304,7 @@ main(void) int n; n = scandir(".", &namelist, NULL, alphasort); - if (n == -1) { + if (n == \-1) { perror("scandir"); exit(EXIT_FAILURE); } |
