aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/info/chap/overview.texinfo2
-rw-r--r--doc/man/libhaiku_perror.32
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/info/chap/overview.texinfo b/doc/info/chap/overview.texinfo
index d132354..9e44ffb 100644
--- a/doc/info/chap/overview.texinfo
+++ b/doc/info/chap/overview.texinfo
@@ -32,7 +32,7 @@ if @code{errno} is zero. If you rather it did, you can use the macro
if (errno && s__) \
perror(s__); \
errno = errno ? errno : -1; \
- libhaiku_perror(s__); \
+ libhaiku_perror(0); \
@} while (0)
@end example
diff --git a/doc/man/libhaiku_perror.3 b/doc/man/libhaiku_perror.3
index 1514470..54c8e01 100644
--- a/doc/man/libhaiku_perror.3
+++ b/doc/man/libhaiku_perror.3
@@ -42,7 +42,7 @@ is zero. If you rather it did, you can use the macro
if (errno && s__) \\
perror(s__); \\
errno = errno ? errno : -1; \\
- libhaiku_perror(s__); \\
+ libhaiku_perror(0); \\
} while (0)
.fi
.SH "SEE ALSO"