Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
19 lines
607 B
Diff
19 lines
607 B
Diff
diff --git a/sbin/fsck/fsck.c b/sbin/fsck/fsck.c
|
|
index 3757ed062ba5..584ada116386 100644
|
|
--- a/sbin/fsck/fsck.c
|
|
+++ b/sbin/fsck/fsck.c
|
|
@@ -375,11 +375,8 @@ checkfs(const char *pvfstype, const char *spec, const char *mntpt,
|
|
_exit(0);
|
|
|
|
/* Go find an executable. */
|
|
- execvP(execbase, _PATH_SYSPATH, __DECONST(char * const *, argv));
|
|
- if (spec)
|
|
- warn("exec %s for %s in %s", execbase, spec, _PATH_SYSPATH);
|
|
- else
|
|
- warn("exec %s in %s", execbase, _PATH_SYSPATH);
|
|
+ execvp(execbase, __DECONST(char * const *, argv));
|
|
+ warn("exec %s not found", execbase);
|
|
_exit(1);
|
|
/* NOTREACHED */
|
|
|