diff options
author | Mike Frysinger | 2010-01-25 04:36:55 +0100 |
---|---|---|
committer | Karel Zak | 2010-02-02 14:37:32 +0100 |
commit | bb4cb69df2a7fba3098f073aa4b758a8011d826f (patch) | |
tree | 59f3976ed9d135af9e016f4682643e7ecac41c55 /fsck/fsck.c | |
parent | libblkid: add blkid_probe_all_removable() (diff) | |
download | kernel-qcow2-util-linux-bb4cb69df2a7fba3098f073aa4b758a8011d826f.tar.gz kernel-qcow2-util-linux-bb4cb69df2a7fba3098f073aa4b758a8011d826f.tar.xz kernel-qcow2-util-linux-bb4cb69df2a7fba3098f073aa4b758a8011d826f.zip |
fsck/mkfs/mount: unify default search paths for helpers
Rather than each fs util having its own search policy, unify the paths in
configure and allow them to be tweaked by downstream. In the process,
drop the /etc paths as no one has ever really used these.
[kzak@redhat.com: - backport to autoconf < 2.64
(remove AS_{SET,IF,CASE,APPEND} macros)]
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fsck/fsck.c')
-rw-r--r-- | fsck/fsck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck/fsck.c b/fsck/fsck.c index 66c027c7e..45d8484a0 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -105,7 +105,7 @@ char *progname; char *fstype = NULL; struct fs_info *filesys_info = NULL, *filesys_last = NULL; struct fsck_instance *instance_list; -const char *fsck_prefix_path = "/sbin:/sbin/fs.d:/sbin/fs:/etc/fs:/etc"; +const char fsck_prefix_path[] = FS_SEARCH_PATH; char *fsck_path = 0; static char *string_copy(const char *s) |