diff options
author | Steve Dickson <steved@redhat.com> | 2009-08-17 08:50:04 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-08-17 08:50:04 -0400 |
commit | fd51c0c39017f44ceec4229f86eaa7c8e193ebdc (patch) | |
tree | 545ab2daa9355f19b67c3ce42a694f1dd286794c /utils/mount/mount.c | |
parent | 4d0175ad400ec56456765a15829557f1d541866a (diff) | |
download | nfs-utils-fd51c0c39017f44ceec4229f86eaa7c8e193ebdc.tar.gz nfs-utils-fd51c0c39017f44ceec4229f86eaa7c8e193ebdc.tar.xz nfs-utils-fd51c0c39017f44ceec4229f86eaa7c8e193ebdc.zip |
Cleaned up parsing errors to hopeful be more precise
Also had mount_config_init() call xlog_open() so
the program name is set on xlog() calls.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r-- | utils/mount/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c index 909fedf..355df79 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -475,7 +475,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", |