aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/busybox/patches/010-fix-wrong-variable.patch
blob: 1b6fa7be61c32e7fbe91382e16235faa09366029 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/libbb/update_passwd.c
+++ b/libbb/update_passwd.c
@@ -48,7 +48,7 @@ static void check_selinux_update_passwd(
 			bb_simple_error_msg_and_die("SELinux: access denied");
 	}
 	if (ENABLE_FEATURE_CLEAN_UP)
-		freecon(context);
+		freecon(seuser);
 }
 #else
 # define check_selinux_update_passwd(username) ((void)0)