On Sunday, 12 November 2006 21:18, Luca wrote:
> Trivial patch:
Ah, thanks for spotting. I've added a slightly different patch (now the top
line
fits within 80 columns):
---
swap-offset.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: suspend/swap-offset.c
===================================================================
--- suspend.orig/swap-offset.c
+++ suspend/swap-offset.c
@@ -103,8 +103,8 @@ int main(int argc, char **argv) {
last_block = block;
}
if (size < page_size) {
- fprintf(stderr, "Swapfile header is not contiguous and cannot
be used"
- "for suspension.\n");
+ fprintf(stderr, "Swapfile header is not contiguous and cannot "
+ "be used for suspension.\n");
err = EINVAL;
} else {
printf("resume offset = %d\n", first_block * blk_size /
page_size);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Suspend-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/suspend-devel