svn commit: r320508 - head/lib/libc/stdio

Konstantin Belousov kib at FreeBSD.org
Fri Jun 30 20:23:47 UTC 2017


Author: kib
Date: Fri Jun 30 20:23:46 2017
New Revision: 320508
URL: https://svnweb.freebsd.org/changeset/base/320508

Log:
  Fix typo in the r320472 change to fgetws().  Return proper value.
  
  Reported by:	Oleg Ginzburg <olevole at olevole.ru>
  Reviewed by:	vangyzen
  Sponsored by:	The FreeBSD Foundation
  MFC after:	13 days

Modified:
  head/lib/libc/stdio/fgetws.c

Modified: head/lib/libc/stdio/fgetws.c
==============================================================================
--- head/lib/libc/stdio/fgetws.c	Fri Jun 30 20:06:15 2017	(r320507)
+++ head/lib/libc/stdio/fgetws.c	Fri Jun 30 20:23:46 2017	(r320508)
@@ -116,7 +116,7 @@ ok:
 	ret = ws;
 end:
 	FUNLOCKFILE_CANCELSAFE();
-	return (ws);
+	return (ret);
 
 error:
 	ret = NULL;


More information about the svn-src-head mailing list