- constify some read-only members and remove superfluous casts
[oweals/busybox.git] / docs / new-applet-HOWTO.txt
index 7acc80bb2076dccd923d0854a742b5613a58d566..1c2383f351970d4ede4e4ca8229ade6024f21cf8 100644 (file)
@@ -40,7 +40,7 @@ int mu_main(int argc, char **argv)
        int fd;
        char mu;
 
-       fd = bb_xopen("/dev/random", O_RDONLY);
+       fd = xopen("/dev/random", O_RDONLY);
 
        if ((n = safe_read(fd, &mu, 1)) < 1)
                bb_perror_msg_and_die("/dev/random");