On Tuesday, 23 January 2007 10:51, Pavel Machek wrote: > Hi! > > > Split the opening of resume_dev and retrieval of the header from > > read_image into a new function. That way we can do something else if > > everything is OK, but there just isn't an image. > > The new function return ENOMEDIUM in case of no image, better > > suggestions welcome.
I think EINVAL is also acceptable here. > Looks ok to me. Ditto. Rafael -- If you don't have the time to read, you don't have the time or the tools to write. - Stephen King ------------------------------------------------------------------------- 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