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 <olev...@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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to