Merge "Make the udev vs plugdev distinction a bit clearer." am: 9597f27e1b
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1383959 Change-Id: I348e7807565adb531ce73359806492a6b77b8ac1
This commit is contained in:
commit
220e60b1be
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ static std::string GetUdevProblem() {
|
|||
// additionally just to be sure.
|
||||
if (group_member(plugdev_group->gr_gid) || getegid() == plugdev_group->gr_gid) {
|
||||
// The user is in plugdev so the problem is likely with the udev rules.
|
||||
return "user in plugdev group; are your udev rules wrong?";
|
||||
return "missing udev rules? user is in the plugdev group";
|
||||
}
|
||||
passwd* pwd = getpwuid(getuid());
|
||||
return android::base::StringPrintf("user %s is not in the plugdev group",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue