Hi, Three small cleanups: - Remove s2both binary at 'make clean' - Remove unused #define - Add \n to message, looks better imho.
Index: Makefile
===================================================================
diff -u -r1.36 Makefile
--- Makefile 14 Sep 2006 14:58:21 -0000 1.36
+++ Makefile 16 Sep 2006 07:42:36 -0000
@@ -58,7 +58,7 @@
endif
clean:
- rm -f $(S2DISK) suspend-keygen suspend.keys resume s2ram *.o
vbetool/*.o vbetool/x86emu/*.o vbetool/x86emu/*.a
+ rm -f $(S2DISK) $(S2BOTH) suspend-keygen suspend.keys resume s2ram *.o
vbetool/*.o vbetool/x86emu/*.o vbetool/x86emu/*.a
s2ram: s2ram.c dmidecode.c whitelist.c radeontool.c $(S2RAMOBJ)
$(CC) $(CFLAGS) -g s2ram.c $(S2RAMOBJ) -lpci -o s2ram
Index: config.h
===================================================================
diff -u -r1.2 config.h
--- config.h 28 Jun 2006 14:11:42 -0000 1.2
+++ config.h 16 Sep 2006 07:42:36 -0000
@@ -27,4 +27,3 @@
char *special);
#define CONFIG_FILE "/etc/suspend.conf"
-#define S2BOTH_NAME "s2both"
Index: resume.c
===================================================================
diff -u -r1.29 resume.c
--- resume.c 14 Sep 2006 14:18:58 -0000 1.29
+++ resume.c 16 Sep 2006 07:42:37 -0000
@@ -670,7 +670,7 @@
printf("resume: Image successfully loaded\n");
} else {
printf("resume: Error %d loading the image\n"
- "\nPress ENTER to continue", error);
+ "\nPress ENTER to continue\n", error);
splash.getchar();
}
return error;
signature.asc
Description: PGP signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Suspend-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/suspend-devel
