Hi,

There are still machines that are slow. Sometimes i was wondering
"what the fsck is this thing doing now?", so let's be a bit more
verbose. In the normal case of a fast machine, nobody will see this
anyway.

Index: suspend.c
===================================================================
RCS file: /cvsroot/suspend/suspend/suspend.c,v
retrieving revision 1.68
diff -u -p -r1.68 suspend.c
--- suspend.c   25 Jan 2007 12:56:17 -0000      1.68
+++ suspend.c   2 Feb 2007 12:16:20 -0000
@@ -777,6 +777,9 @@ int suspend_system(int snapshot_fd, int 
                }
                if (!atomic_snapshot(snapshot_fd, &in_suspend)) {
                        if (!in_suspend) {
+                               /* first unblank the console, see 
console_codes(4) */
+                               printf("\e[13]");
+                               printf("suspend: returned to userspace\n");
                                free_snapshot(snapshot_fd);
                                if (use_platform_suspend)
                                        platform_finish(snapshot_fd);
-- 
Stefan Seyfried                  \ "I didn't want to write for pay. I
QA / R&D Team Mobile Devices      \ wanted to be paid for what I write."
SUSE LINUX Products GmbH, Nürnberg \                    -- Leonard Cohen

-------------------------------------------------------------------------
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
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to