public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30800ee
)
flat: fix stupid bug I noticed
author
Alan Cox
<alan@linux.intel.com>
Thu, 11 Feb 2016 19:59:40 +0000
(19:59 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 11 Feb 2016 19:59:40 +0000
(19:59 +0000)
May well kick this code out shortly anyway
Kernel/flat.c
patch
|
blob
|
history
diff --git
a/Kernel/flat.c
b/Kernel/flat.c
index
e9b2a9e
..
50afdc0
100644
(file)
--- a/
Kernel/flat.c
+++ b/
Kernel/flat.c
@@
-242,7
+242,7
@@
int pagemap_realloc(usize_t size)
mb->start = kmalloc(size);
mb->end = mb->start + size;
- if (mb->
end
== NULL)
+ if (mb->
start
== NULL)
return ENOMEM;
return 0;
}