diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libzfs/libzfs_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c index a4e1255bb..5bb88e946 100644 --- a/lib/libzfs/libzfs_util.c +++ b/lib/libzfs/libzfs_util.c @@ -704,6 +704,8 @@ libzfs_init(void) if ((hdl->libzfs_mnttab = fopen(MNTTAB, "r")) == NULL) { #endif (void) close(hdl->libzfs_fd); + (void) fprintf(stderr, + gettext("mtab is not present at %s.\n"), MNTTAB); free(hdl); return (NULL); } |