Re: Linux 2.6.12-rc3: various swsusp problems

Pavel Machek
2005-04-23T09:15:16Z

Hi!

> On 4/22/05, Stefan Seyfried <seife@suse.de> wrote:
> > --- linux/kernel/power/swsusp.c~ 2005-04-22 17:07:56.000000000 +0200
> > +++ linux/kernel/power/swsusp.c 2005-04-22 17:09:22.000000000 +0200
> > @@ -1239,7 +1239,7 @@ static int check_sig(void)
> > */
> > error = bio_write_page(0, &swsusp_header);
> > } else {
> > - printk(KERN_ERR "swsusp: Suspend partition has wrong signature?\n");
> > + printk(KERN_ERR "swsusp: Suspend partition is no suspend image.\n");
>
> Hrm, I don't think it is a good message... What about "Suspend
> partition has no suspend image" or, better yet, "Suspend partition
> does not contain valid suspend image"?

I settled with

printk(KERN_INFO "swsusp: Suspend partition does not contain suspend image.\n");

Pavel
--
Boycott Kodak -- for their patent abuse against Java.