public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26b691
)
swap: Fix silly bug
author
Alan Cox
<alan@etchedpixels.co.uk>
Sun, 2 Nov 2014 18:37:12 +0000
(18:37 +0000)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Sun, 2 Nov 2014 18:37:12 +0000
(18:37 +0000)
Kernel/swap.c
patch
|
blob
|
history
diff --git
a/Kernel/swap.c
b/Kernel/swap.c
index
cfb04f4
..
dfc345c
100644
(file)
--- a/
Kernel/swap.c
+++ b/
Kernel/swap.c
@@
-81,7
+81,7
@@
int swapout(ptptr p)
/* Write to disk if the platform asks us */
if (ptr)
swapwrite(SWAPDEV, blk, UDATA_SWAPSIZE,
-
(char *) p
);
+
ptr
);
#endif
/* Write the app (and possibly the uarea etc..) to disk */
swapwrite(SWAPDEV, blk + UDATA_BLOCKS, SWAPTOP - SWAPBASE,