$NetBSD: patch-aa,v 1.5 2007/06/20 19:51:09 jlam Exp $

--- e2fsck/unix.c.orig	2006-03-19 20:31:06.000000000 -0500
+++ e2fsck/unix.c
@@ -173,7 +173,7 @@ static void check_mount(e2fsck_t ctx)
 	retval = ext2fs_check_if_mounted(ctx->filesystem_name,
 					 &ctx->mount_flags);
 	if (retval) {
-		com_err("ext2fs_check_if_mount", retval,
+		com_err("ext2fs_check_if_mounted", retval,
 			_("while determining whether %s is mounted."),
 			ctx->filesystem_name);
 		return;
@@ -568,7 +568,7 @@ static void syntax_err_report(const char
 	exit(FSCK_ERROR);
 }
 
-static const char *config_fn[] = { "/etc/e2fsck.conf", 0 };
+static const char *config_fn[] = { ETC_DIR "/e2fsck.conf", 0 };
 
 static errcode_t PRS(int argc, char *argv[], e2fsck_t *ret_ctx)
 {
