]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
wcsdup.3: RETURN VALUE: fix error in return value description
authorJan Heberer <jangc@t-online.de>
Mon, 20 Mar 2017 16:49:46 +0000 (17:49 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 20 Mar 2017 16:49:46 +0000 (17:49 +0100)
Return value for failure was accidentally changed from NULL to
-1 in man-pages commit 572acb41c48b6b8e690d50edff367d8b8b01702a.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/wcsdup.3

index 56534ddcb96b5595cb7161a6f2e5f5f54423642c..b4b0d41b4ef386811e1d8eaeb078439fd05433cc 100644 (file)
@@ -60,7 +60,7 @@ and should be freed with
 On success,
 .BR wcsdup ()
 returns a pointer to the new wide-character string.
-On error, it returns \-1, with
+On error, it returns NULL, with
 .I errno
 set to indicate the cause of the error.
 .SH ERRORS