c79a9dab53
Changes too numerous, see following page for details: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.1 Compile-tested on NetBSD and Mac OS X
19 lines
564 B
Text
19 lines
564 B
Text
$NetBSD: patch-ao,v 1.3 2016/08/09 21:46:07 jdolecek Exp $
|
|
|
|
Where to find the config file
|
|
|
|
--- lib/blkid/blkidP.h.orig 2009-08-13 01:39:57.000000000 +0000
|
|
+++ lib/blkid/blkidP.h
|
|
@@ -104,7 +104,11 @@ struct blkid_struct_cache
|
|
extern char *blkid_strdup(const char *s);
|
|
extern char *blkid_strndup(const char *s, const int length);
|
|
|
|
-#define BLKID_CACHE_FILE "/etc/blkid.tab"
|
|
+#ifndef ETC_DIR
|
|
+#define ETC_DIR "/etc" /* Where to find the config file */
|
|
+#endif
|
|
+
|
|
+#define BLKID_CACHE_FILE ETC_DIR "/blkid.tab"
|
|
|
|
#define BLKID_ERR_IO 5
|
|
#define BLKID_ERR_PROC 9
|