Displaying 1 result from an estimated 1 matches for "71414b1".
Did you mean:
141461
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...TDOUT_FILENO);
dup2(fd, STDERR_FILENO);
- if (fd > STDERR_FILENO) {
+ if (fd > STDERR_FILENO)
close(fd);
- }
}
mnt_procfs = mount_sys_fs("/proc/cmdline", "/proc", "proc") >= 0;
diff --git a/usr/kinit/kinit.h b/usr/kinit/kinit.h
index c2e67b7..71414b1 100644
--- a/usr/kinit/kinit.h
+++ b/usr/kinit/kinit.h
@@ -36,17 +36,17 @@ ssize_t freadfile(FILE *f, char **pptr);
* "unnecessary" pointer comparison.
* From the Linux kernel.
*/
-#define min(x,y) ({ \
- typeof(x) _x = (x); \
- typeof(y) _y = (y); \
- (...