diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 0a5abb878..0a6d90de5 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -265,7 +265,7 @@ void xsetgid(gid_t gid) | |||
265 | if (setgid(gid)) bb_error_msg_and_die("setgid"); | 265 | if (setgid(gid)) bb_error_msg_and_die("setgid"); |
266 | } | 266 | } |
267 | 267 | ||
268 | // Die with an error message if we cant' set uid. (See xsetgid() for why.) | 268 | // Die with an error message if we can't set uid. (See xsetgid() for why.) |
269 | void xsetuid(uid_t uid) | 269 | void xsetuid(uid_t uid) |
270 | { | 270 | { |
271 | if (setuid(uid)) bb_error_msg_and_die("setuid"); | 271 | if (setuid(uid)) bb_error_msg_and_die("setuid"); |