Usermode/libposix - Fixed bug in getpass (didn't trim \n)
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / fcntl.c
index 76d6f6b..431c2cb 100644 (file)
@@ -43,8 +43,8 @@ int fcntl(int fd, int cmd, ...)
                        a_flags |= OPENFLAG_APPEND;
                // TODO: Extra flags for F_SETFL
 
-               _SysDebug("fcntl(%i, F_SETFL, %i)", fd, p_flags);
                ret = _SysFDFlags(fd, mask, a_flags);
+               _SysDebug("fcntl(%i, F_SETFL, %li) = %i", fd, p_flags, ret);
                if(ret != -1)
                        ret = 0;
 

UCC git Repository :: git.ucc.asn.au