aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/init.c3
-rw-r--r--libpwdgrp/uidgid_get.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c
index 9923558f4..d11d425ba 100644
--- a/init/init.c
+++ b/init/init.c
@@ -645,7 +645,8 @@ static void new_init_action(uint8_t action_type, const char *command, const char
645 /* don't enter action if it's already in the list, 645 /* don't enter action if it's already in the list,
646 * but do overwrite existing actions */ 646 * but do overwrite existing actions */
647 if ((strcmp(a->command, command) == 0) 647 if ((strcmp(a->command, command) == 0)
648 && (strcmp(a->terminal, cons) == 0)) { 648 && (strcmp(a->terminal, cons) == 0)
649 ) {
649 a->action_type = action_type; 650 a->action_type = action_type;
650 return; 651 return;
651 } 652 }
diff --git a/libpwdgrp/uidgid_get.c b/libpwdgrp/uidgid_get.c
index dc7cc6614..ebc7fc58c 100644
--- a/libpwdgrp/uidgid_get.c
+++ b/libpwdgrp/uidgid_get.c
@@ -78,8 +78,8 @@ int FAST_FUNC get_uidgid(struct bb_uidgid_t *u, const char *ug, int numeric_ok)
78} 78}
79void FAST_FUNC xget_uidgid(struct bb_uidgid_t *u, const char *ug) 79void FAST_FUNC xget_uidgid(struct bb_uidgid_t *u, const char *ug)
80{ 80{
81 if (!get_uidgid(u, ug, 1)) 81 if (!get_uidgid(u, ug, 1))
82 bb_error_msg_and_die("unknown user/group %s", ug); 82 bb_error_msg_and_die("unknown user/group %s", ug);
83} 83}
84 84
85/* chown-like: 85/* chown-like: