diff -rup makedumpfile.old/makedumpfile.c makedumpfile/makedumpfile.c
--- makedumpfile.old/makedumpfile.c	2006-09-07 21:53:09.000000000 +0900
+++ makedumpfile/makedumpfile.c	2006-09-08 20:28:25.000000000 +0900
@@ -27,6 +27,7 @@
 struct symbol_table	symbol_table;
 struct size_table	size_table;
 struct offset_table	offset_table;
+int retcd = COMPLETED;	/* return code */
 
 /*
  *  Strip line-ending linefeeds in a string.
@@ -294,7 +295,7 @@ check_release(struct DumpInfo *info)
 	if (info->flag_read_config) {
 		if (strcmp(system_utsname.release, info->release)) {
 			ERRMSG("%s doesn't suit the dump_mem.\n", info->name_configfile);
-			info->retcd = WRONG_RELEASE;
+			retcd = WRONG_RELEASE;
 			return FALSE;
 		}
 	}
@@ -2720,8 +2721,8 @@ out:
 		g_free(info->dump_header);
 	if (info != NULL)
 		g_free(info);
-	if (info->retcd)
-		return info->retcd;
+	if (retcd != COMPLETED)
+		return retcd;
 	else
 		return FAILED;
 }
diff -rup makedumpfile.old/makedumpfile.h makedumpfile/makedumpfile.h
--- makedumpfile.old/makedumpfile.h	2006-09-07 21:53:09.000000000 +0900
+++ makedumpfile/makedumpfile.h	2006-09-08 20:28:25.000000000 +0900
@@ -322,7 +322,6 @@ struct cache_data {
 };
 
 struct DumpInfo {
-	int		retcd;		     /* return code */
 	int		kernel_version;      /* version of first kernel */
 
 	/*
