From 915fde17387f7245164fbda21a0f5bbc185f7dc2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sat, 24 Feb 2007 23:43:04 +0100 Subject: update DRIVER== changes --- extras/volume_id/vol_id.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extras/volume_id/vol_id.c') diff --git a/extras/volume_id/vol_id.c b/extras/volume_id/vol_id.c index 73843ef699..92f00e0c50 100644 --- a/extras/volume_id/vol_id.c +++ b/extras/volume_id/vol_id.c @@ -188,7 +188,8 @@ int main(int argc, char *argv[]) /* try to drop all privileges before reading disk content */ pw = getpwnam ("nobody"); if (pw != NULL && pw->pw_uid > 0 && pw->pw_gid > 0) { - dbg("dropping privileges to %u:%u", (unsigned int)pw->pw_uid, (unsigned int)pw->pw_gid); + dbg("dropping privileges to %u:%u", + (unsigned int)pw->pw_uid, (unsigned int)pw->pw_gid); if (setgroups(0, NULL) != 0 || setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) { -- cgit v1.2.3-54-g00ecf