[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-pm-utils
Subject: Re: [Pm-utils] A "pm-echo" that actually returns the error code of
From: Stefan Seyfried <seife () suse ! de>
Date: 2007-03-16 16:23:00
Message-ID: 20070316162300.GK12362 () suse ! de
[Download RAW message or body]
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
Pm-utils@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pm-utils
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic