diff options
-rw-r--r-- | utils/mount/error.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/mount/error.c b/utils/mount/error.c index f8fc13f..e06f598 100644 --- a/utils/mount/error.c +++ b/utils/mount/error.c @@ -215,8 +215,12 @@ void mount_error(const char *spec, const char *mount_point, int error) progname); break; case ENOTDIR: - nfs_error(_("%s: mount point %s is not a directory"), - progname, mount_point); + if (spec) + nfs_error(_("%s: mount spec %s or point %s is not a " + "directory"), progname, spec, mount_point); + else + nfs_error(_("%s: mount point %s is not a directory"), + progname, mount_point); break; case EBUSY: nfs_error(_("%s: %s is busy or already mounted"), |