]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs - make sure program name in error message is correct.
authorNeil Brown <neilb@suse.de>
Tue, 20 Mar 2007 01:53:32 +0000 (12:53 +1100)
committerNeil Brown <neilb@suse.de>
Tue, 20 Mar 2007 01:53:32 +0000 (12:53 +1100)
commitb8b6a251c372b134e66d0f436bf2c6231cc1c055
tree22ae6b628493e0f8ff88c9e3dd14f89deef4a718
parent4bc447f758ee4d64706b990ac68cb766dbff113c
mount.nfs - make sure program name in error message is correct.

getopt_long uses argv[0] in error messages.  So it it is given
argv+2 for example, we need to make sure that argv[2] has the
correct program name.
utils/mount/mount.c
utils/mount/nfsumount.c