[klibc] kinit small fixes

maximilian attems maks at sternwelten.at
Wed Jul 19 02:22:27 PDT 2006


to better try out git tackled two small fixes.
please pull from
git://charm.itp.tuwien.ac.at/mattems/klibc/.git

 usr/kinit/Kbuild             |    3 +--
 usr/kinit/resume/resumelib.c |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

maximilian attems:
      kinit: fix gratious rebuilds
      resumelib.c streamline error message

diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild
index 37b35cf..59db29b 100644
--- a/usr/kinit/Kbuild
+++ b/usr/kinit/Kbuild
@@ -4,8 +4,7 @@ #
 
 static-y := kinit
 kinit-y  := kinit.o do_mounts.o ramdisk_load.o initrd.o
-kinit-y	 += name_to_dev.o devname.o
-kinit-y  += getarg.o getintfile.o open.o readfile.o xpio.o
+kinit-y  += getintfile.o open.o readfile.o xpio.o
 kinit-y  += do_mounts_md.o do_mounts_mtd.o nfsroot.o
 
 kinit-y  += ipconfig/
diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c
index bd328bd..ce5c2b2 100644
--- a/usr/kinit/resume/resumelib.c
+++ b/usr/kinit/resume/resumelib.c
@@ -74,7 +74,7 @@ int resume(const char *resume_file)
 failure:
 	if (powerfd >= 0)
 		close(powerfd);
-	fprintf(stderr, "Resume failed, doing normal boot...\n");
+	fprintf(stderr, "kinit: No resume image, doing normal boot...\n");
 	return -1;
 
 fail_r:


-- 
maks



More information about the klibc mailing list