Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > b8204bfed5255fbbec2bb0fe190e1aec > files > 28

kexec-tools-1.102pre-77.el5.3.src.rpm

diff -up kexec-tools-testing-20070330/makedumpfile/makedumpfile.c.orig1 kexec-tools-testing-20070330/makedumpfile/makedumpfile.c
--- kexec-tools-testing-20070330/makedumpfile/makedumpfile.c.orig1	2009-06-10 11:30:44.000000000 -0400
+++ kexec-tools-testing-20070330/makedumpfile/makedumpfile.c	2009-06-10 11:31:03.000000000 -0400
@@ -3281,10 +3281,10 @@ initial()
 			return TRUE;
 	}
 
-	if (!get_utsname(&info->system_utsname))
+	if (!get_machdep_info())
 		return FALSE;
 
-	if (!get_machdep_info())
+	if (!get_utsname(&info->system_utsname))
 		return FALSE;
 
 	if (!check_release())