On Tue, 27 Mar 2007 13:23:44 +0200 "Cédric Boutillier" <[EMAIL PROTECTED]> wrote:
> Hi ! > > > Apparently, resume_dev = 268462812 before calling set_swap_file(). > > I've no idea where these 0:0 come from, but I do have idea why it doesn't > > work. I don't know how to fix that right now, though. > > > > Greetings, > > Rafael > > The fact that I got 0:0 might come from the fact that I am far from > being an expert in coding. I don't know if the technique I use to > print out blkdev is correct. I just saw that there was a macro in > linux/kdev_t.h to sprintf dev_t objects. I just mimicked this to write > the line. If it turns out that this is not the good way, please tell > me and I will try what you propose. Well, I'm also quite new to this game;) Apparently it should be an `unsigned long long', which would make printf("blkdev: %llu \n", blkdev); the correct way to print it. grts Tim
signature.asc
Description: PGP signature
------------------------------------------------------------------------- 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