On Fri, Mar 16, 2007 at 05:10:19PM +0100, Stefan Seyfried wrote: > Hi, > > sooner or later we will want to return error codes from suspend back > up the stack to the application. > > When doing "echo foo > /sys/power/state", i get a return code of 1, > instead of 22 for EINVAL, which would be the correct return code:
Stating the obvious here, the next step is to actually propagate that error code up the stack. Note that i can live without this pm-echo, since s2ram, s2disk and s2both return proper error codes anyway ;-) -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." _______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
