Hi!

> First patch is somewhat unrelated. While fixing this I was trying to
> get the logic of read_image(). The last part is unnecessary complex. The
> if(!error || !ret) should always be true. The only reason I can think
> of is reboot() failing. This patch just removes that `if' and adds 
> some protection for a failing reboot();

Ok, go ahead with commit.
                                                        Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to