X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Fmount.c;h=82b9169a10462dad5f1efbdb55596878f17db10f;hp=909fedf8e0d2ba3abe96267170844efbb8bfa70f;hb=d9c22d2e825d050a89da8c798c56f3a96d2359b0;hpb=9082582d6675e45067838805a65b6fcc07164557 diff --git a/utils/mount/mount.c b/utils/mount/mount.c index 909fedf..82b9169 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include @@ -475,7 +476,7 @@ int main(int argc, char *argv[]) spec = argv[1]; mount_point = argv[2]; - mount_config_init(); + mount_config_init(progname); argv[2] = argv[0]; /* so that getopt error messages are correct */ while ((c = getopt_long(argc - 2, argv + 2, "rvVwfno:hs", @@ -593,6 +594,9 @@ int main(int argc, char *argv[]) if (mnt_err == EX_BG) { printf(_("%s: backgrounding \"%s\"\n"), progname, spec); + printf(_("%s: mount options: \"%s\"\n"), + progname, extra_opts); + fflush(stdout); /*