X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fmount%2Ferror.c;fp=utils%2Fmount%2Ferror.c;h=bf056af8eb38d1cabe3996b918f30b7883c21a8c;hp=57608a586a8f12c41a6cf3e3645f49f33e916b7b;hb=38145f5bceef1b3cf5ec44a752774f5bbccfbf4e;hpb=74fec59d7be4c993785bae386c10a0078e5b6d85 diff --git a/utils/mount/error.c b/utils/mount/error.c index 57608a5..bf056af 100644 --- a/utils/mount/error.c +++ b/utils/mount/error.c @@ -86,7 +86,8 @@ void mount_errors(char *server, int will_retry, int bg) "mount to NFS server '%s' failed: ", server); else pos = snprintf(tmp, (erreob - tmp), - "%s: mount to NFS server '%s' failed: ", server); + "%s: mount to NFS server '%s' failed: ", + progname, server); tmp = &errbuf[pos]; if (rpc_createerr.cf_stat == RPC_TIMEDOUT) {