mount: inform about UID and eUID when verbose > 2

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2009-02-18 23:16:57 +01:00
parent bb5f287620
commit 27f8f3669a
1 changed files with 2 additions and 0 deletions

View File

@ -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;