diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 4f418e7c1..ce62f4529 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -953,8 +953,9 @@ extern const char bb_dev_null[]; | |||
953 | extern const char bb_busybox_exec_path[]; | 953 | extern const char bb_busybox_exec_path[]; |
954 | /* util-linux manpage says /sbin:/bin:/usr/sbin:/usr/bin, | 954 | /* util-linux manpage says /sbin:/bin:/usr/sbin:/usr/bin, |
955 | * but I want to save a few bytes here */ | 955 | * but I want to save a few bytes here */ |
956 | extern const char bb_default_root_login_path[]; /* "/sbin:/usr/sbin:/bin:/usr/bin" */ | 956 | extern const char bb_PATH_root_path[]; /* "PATH=/sbin:/usr/sbin:/bin:/usr/bin" */ |
957 | #define bb_default_login_path (bb_default_root_login_path + sizeof("/sbin:/usr/sbin")) | 957 | #define bb_default_root_path (bb_PATH_root_path + sizeof("PATH")) |
958 | #define bb_default_path (bb_PATH_root_path + sizeof("PATH=/sbin:/usr/sbin")) | ||
958 | 959 | ||
959 | extern const int const_int_0; | 960 | extern const int const_int_0; |
960 | extern const int const_int_1; | 961 | extern const int const_int_1; |