summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
-rw-r--r--include/usage.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 99d681d..6546437 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -707,7 +707,7 @@ int run_nofork_applet_prime(struct nofork_save_area *old, int applet_no, char **
*
* forkexit_or_rexec(argv) = bare-bones "fork + parent exits" on MMU,
* "vfork + re-exec ourself" on NOMMU. No fd redirection, no setsid().
- * Currently used for openvt. On MMU ignores argv.
+ * Currently used for openvt and setsid. On MMU ignores argv.
*
* Helper for network daemons in foreground mode:
*
@@ -728,7 +728,7 @@ enum {
# define bb_daemonize(flags) bb_daemonize_or_rexec(flags, bogus)
#else
void re_exec(char **argv) ATTRIBUTE_NORETURN;
- void forkexit_or_rexec(char **argv);
+ void forkexit_or_rexec(char **argv) ATTRIBUTE_NORETURN;
extern bool re_execed;
int BUG_fork_is_unavailable_on_nommu(void);
int BUG_daemon_is_unavailable_on_nommu(void);
diff --git a/include/usage.h b/include/usage.h
index 8f563f5..fe98398 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3839,7 +3839,7 @@
"$ tar -cf /tmp/tarball.tar /usr/local\n"
#define taskset_trivial_usage \
- "[OPTIONS] [mask] [pid | command [arg]...]"
+ "[-p] [mask] [pid | command [arg]...]"
#define taskset_full_usage \
"Set or get CPU affinity\n" \
"\nOptions:" \