aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2016-01-05 00:35:03 +0100
committerMattias Andrée <maandree@member.fsf.org>2016-01-05 00:35:03 +0100
commit20ce5054404b007f7313fe45f0eb31b2a5e44c71 (patch)
tree518d5d6e0e2d99deb29cfb253b7396cea97122b0 /doc
parentmaking the first release (diff)
downloadlibhaiku-20ce5054404b007f7313fe45f0eb31b2a5e44c71.tar.gz
libhaiku-20ce5054404b007f7313fe45f0eb31b2a5e44c71.tar.bz2
libhaiku-20ce5054404b007f7313fe45f0eb31b2a5e44c71.tar.xz
silly mistakes1.0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'doc')
-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"