swsusp in 2.6.0 sometimes reports "incorrect version"

From: Pavel Machek
Date: Sat Jan 03 2004 - 13:23:23 EST


Hi!

This check sometimes triggers; I'm not sure what is going on. Adding
field to "struct suspend_head" may help you.

Pavel


static int sanity_check(struct suspend_header *sh)
{
if (sh->version_code != LINUX_VERSION_CODE)
return sanity_check_failed("Incorrect kernel version");

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/