small fixes: using fd-based io instead of FILE*-based,
missed O_TRUNC, etc
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index 4c18e5d..3e916f4 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -29,9 +29,7 @@
  */
 static inline void sanitize_fds(void)
 {
-	int fd = open(bb_dev_null, O_RDWR, 0);
-	if (fd < 0)
-		return;
+	int fd = xopen(bb_dev_null, O_RDWR);
 	while (fd < 3)
 		fd = dup(fd);
 	close(fd);