diff options
-rw-r--r-- | docs/new-applet-HOWTO.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/docs/new-applet-HOWTO.txt b/docs/new-applet-HOWTO.txt index 2fc95d36d..605974c3a 100644 --- a/docs/new-applet-HOWTO.txt +++ b/docs/new-applet-HOWTO.txt | |||
@@ -52,10 +52,10 @@ int mu_main(int argc, char **argv) | |||
52 | char mu; | 52 | char mu; |
53 | 53 | ||
54 | if ((fd = open("/dev/random", O_RDONLY)) < 0) | 54 | if ((fd = open("/dev/random", O_RDONLY)) < 0) |
55 | perror_msg_and_die("/dev/random"); | 55 | bb_perror_msg_and_die("/dev/random"); |
56 | 56 | ||
57 | if ((n = safe_read(fd, &mu, 1)) < 1) | 57 | if ((n = safe_read(fd, &mu, 1)) < 1) |
58 | perror_msg_and_die("/dev/random"); | 58 | bb_perror_msg_and_die("/dev/random"); |
59 | 59 | ||
60 | return mu; | 60 | return mu; |
61 | } | 61 | } |
@@ -137,11 +137,6 @@ algorithm in busybox.c and the Gods of BusyBox smite you. Yea, verily: | |||
137 | /* all programs below here are alphabetically "greater than" 'mu' */ | 137 | /* all programs below here are alphabetically "greater than" 'mu' */ |
138 | 138 | ||
139 | 139 | ||
140 | Finally, add a define for your applet to include/config.h | ||
141 | |||
142 | #undef CONFIG_MU | ||
143 | |||
144 | |||
145 | Documentation | 140 | Documentation |
146 | ------------- | 141 | ------------- |
147 | 142 | ||