summaryrefslogtreecommitdiff
path: root/mount
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2009-02-18 23:16:57 +0100
committerKarel Zak <kzak@redhat.com>2009-02-18 23:16:57 +0100
commit27f8f3669a41e32a3da867dfd1cbc16e368a9a28 (patch)
tree8b4a41cb2a5b34db272da8764d7c8daa8eef3f51 /mount
parentbb5f28762083a48a886a0f6ee685f5a98380a5c2 (diff)
downloadutil-linux-old-27f8f3669a41e32a3da867dfd1cbc16e368a9a28.tar.gz
mount: inform about UID and eUID when verbose > 2
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount')
-rw-r--r--mount/mount.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/mount.c b/mount/mount.c
index 3f0b0c61..94fa94fb 100644
--- a/mount/mount.c
+++ b/mount/mount.c
@@ -2174,6 +2174,8 @@ main(int argc, char *argv[]) {
printf("mount: mtab path: \"%s\"\n", _PATH_MOUNTED);
printf("mount: lock path: \"%s\"\n", _PATH_MOUNTED_LOCK);
printf("mount: temp path: \"%s\"\n", _PATH_MOUNTED_TMP);
+ printf("mount: UID: %d\n", getuid());
+ printf("mount: eUID: %d\n", geteuid());
}
argc -= optind;