Well... It never worked :) This what happens on shortcuts... Why calling this inside printf context instead of making this own statement?
--- --- suspend.org/resume.c 2007-05-13 20:53:13.000000000 +0300 +++ suspend.work/resume.c 2007-08-06 00:59:57.000000000 +0300 @@ -377,10 +427,11 @@ static inline int load_image(struct swap static char * print_checksum(char * buf, unsigned char *checksum) { + char *_buf = buf; int j; for (j = 0; j < 16; j++) - buf += sprintf(buf, "%02hhx ", checksum[j]); + _buf += sprintf(_buf, "%02hhx ", checksum[j]); return buf; } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel