Please consider this small patch, it would have made understanding my
first failed attempt at using uswsusp easier.
--
Daniel Drake
Brontes Technologies, A 3M Company
Print resume device file path if it can't be found
From: Daniel Drake <[EMAIL PROTECTED]>
Index: suspend/resume.c
===================================================================
--- suspend.orig/resume.c
+++ suspend/resume.c
@@ -811,9 +811,10 @@ int main(int argc, char *argv[])
while (stat(resume_dev_name, &stat_buf)) {
fprintf(stderr,
- "resume: Could not stat the resume device file.\n"
+ "resume: Could not stat the resume device file '%s'\n"
"\tPlease type in the full path name to try again\n"
- "\tor press ENTER to boot the system: ");
+ "\tor press ENTER to boot the system: ",
+ resume_dev_name);
fgets(resume_dev_name, MAX_STR_LEN - 1, stdin);
n = strlen(resume_dev_name) - 1;
if (n <= 0) {
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel