summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2007-02-24 23:43:04 +0100
committerKay Sievers <kay.sievers@suse.de>2007-02-24 23:43:04 +0100
commit915fde17387f7245164fbda21a0f5bbc185f7dc2 (patch)
treec27a81b01b98ee22be504d3e23b944910550a4f3 /extras
parent8f4bc5f1df8699761bdc09b954fc6c86aee0ce89 (diff)
update DRIVER== changes
Diffstat (limited to 'extras')
-rw-r--r--extras/volume_id/vol_id.c3
1 files changed, 2 insertions, 1 deletions
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) {