Fix warning in glibc-2.19/sysdeps/akaros/user_fd.c (XCC)
authorKevin Klues <klueska@cs.berkeley.edu>
Thu, 1 Oct 2015 04:28:34 +0000 (21:28 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 1 Oct 2015 14:20:55 +0000 (10:20 -0400)
We should explicitly return 0 at the end of this function.

tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/user_fd.c

index 377496e..4e16c98 100644 (file)
@@ -84,4 +84,5 @@ int glibc_close_helper(int fd)
                return -1;
        ufds[fd - USER_FD_BASE] = 0;
        ufd->close(ufd);
+       return 0;
 }