summaryrefslogtreecommitdiffstats
path: root/sbin/mount_ifs
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mount_ifs')
-rw-r--r--sbin/mount_ifs/mount.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/mount_ifs/mount.c b/sbin/mount_ifs/mount.c
index cf05d3f..1be00ec 100644
--- a/sbin/mount_ifs/mount.c
+++ b/sbin/mount_ifs/mount.c
@@ -332,12 +332,8 @@ mountfs(vfstype, spec, name, flags, options, mntopts)
(void)snprintf(execname,
sizeof(execname), "%s/mount_%s", *edir, vfstype);
execv(execname, (char * const *)argv);
- if (errno != ENOENT)
- warn("exec %s for %s", execname, name);
- } while (*++edir != NULL);
-
- if (errno == ENOENT)
warn("exec %s for %s", execname, name);
+ } while (*++edir != NULL);
exit(1);
/* NOTREACHED */
default: /* Parent. */
OpenPOWER on IntegriCloud