$NetBSD: patch-as,v 1.1 2007/06/20 19:51:11 jlam Exp $

--- misc/blkid.c.orig	2005-09-06 05:40:14.000000000 -0400
+++ misc/blkid.c
@@ -24,6 +24,10 @@ extern int optind;
 
 #include "blkid/blkid.h"
 
+#ifndef ETC_DIR
+#define ETC_DIR "/etc"		/* Where to find the config file */
+#endif
+
 const char *progname = "blkid";
 
 static void print_version(FILE *out)
@@ -39,7 +43,7 @@ static void usage(int error)
 	fprintf(out,
 		"usage:\t%s [-c <file>] [-hl] [-o format] "
 		"[-s <tag>] [-t <token>]\n    [-v] [-w <file>] [dev ...]\n"
-		"\t-c\tcache file (default: /etc/blkid.tab, /dev/null = none)\n"
+		"\t-c\tcache file (default: " ETC_DIR "/blkid.tab, /dev/null = none)\n"
 		"\t-h\tprint this usage message and exit\n"
 		"\t-s\tshow specified tag(s) (default show all tags)\n"
 		"\t-t\tfind device with a specific token (NAME=value pair)\n"
