Hello,

Just a minor issue, I know you should never reach there...
But never consume 100% CPU.

Best Regards,
Alon Bar-Lev.

---

Index: suspend.c
===================================================================
RCS file: /cvsroot/suspend/suspend/suspend.c,v
retrieving revision 1.80
diff -u -B -r1.80 suspend.c
--- suspend.c   13 May 2007 20:16:53 -0000      1.80
+++ suspend.c   28 Jul 2007 09:41:12 -0000
@@ -739,7 +754,8 @@
        /* Signature is on disk, it is very dangerous to continue now.
         * We'd do resume with stale caches on next boot. */
        fprintf(stderr,"Powerdown failed. That's impossible.\n");
-       while(1);
+       while(1)
+               sleep (60);
 }
 
 int suspend_system(int snapshot_fd, int resume_fd)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to