projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- constify some read-only members and remove superfluous casts
[oweals/busybox.git]
/
docs
/
new-applet-HOWTO.txt
diff --git
a/docs/new-applet-HOWTO.txt
b/docs/new-applet-HOWTO.txt
index 7acc80bb2076dccd923d0854a742b5613a58d566..1c2383f351970d4ede4e4ca8229ade6024f21cf8 100644
(file)
--- a/
docs/new-applet-HOWTO.txt
+++ b/
docs/new-applet-HOWTO.txt
@@
-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");