From 20ce5054404b007f7313fe45f0eb31b2a5e44c71 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Jan 2016 00:35:03 +0100 Subject: silly mistakes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/chap/overview.texinfo | 2 +- doc/man/libhaiku_perror.3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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" -- cgit v1.2.3-70-g09d2