tags 554959 fixed-upstream
thanks

debbug wrote:
> Package: pm-utils
> Version: 1.2.5-4
> Severity: normal
> 
> 
> Hey Tim!
> 
> Thanks for maintaining pm-utils! 
> 
> kpowersave pops up a window telling that an error "1" has occurred when
> suspending to ram. The error "1" message is annoying and lacks meaning to
> the user.
> 
> It's caused by maybe_deallocvt returning the ret_val of state_exists when 
> the tested (here: console) file isn't found. This absence of this file seems
> not to do any harm therefore the escalation of the ret_val 1 is deprecated.
> 
> Solution: just tell maybe_deallocvt to return 0 in the above case.
> 
> NB: other functions have similar return constructions and some if not all
> (not verified) have a ret_val of 0.
> 
> Thanks and take care! :)

Thanks for your patch. I've committed it upstream [1]. It will be in the next
release 1.2.6 which is to be released soon.

Cheers,
Michael


[1]
http://cgit.freedesktop.org/pm-utils/commit/?id=3dfbf269209ee4e1252d5de6cd2fe4ea78d91d68
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to