Skip to content

Commit af30473

Browse files
authored
Merge pull request #379 from smcv/no-new-typos
Correct name of PR_SET_NO_NEW_PRIVS in error message
2 parents a9700fa + e8f67bc commit af30473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bubblewrap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2247,7 +2247,7 @@ main (int argc,
22472247

22482248
/* Never gain any more privs during exec */
22492249
if (prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) < 0)
2250-
die_with_error ("prctl(PR_SET_NO_NEW_CAPS) failed");
2250+
die_with_error ("prctl(PR_SET_NO_NEW_PRIVS) failed");
22512251

22522252
/* The initial code is run with high permissions
22532253
(i.e. CAP_SYS_ADMIN), so take lots of care. */

0 commit comments

Comments
 (0)