public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddb3cc9
)
Kernel: Bug fix -- bankfixed pagemap_realloc() check was too strict
author
Will Sowerbutts
<will@sowerbutts.com>
Sat, 27 Dec 2014 14:39:26 +0000
(14:39 +0000)
committer
Will Sowerbutts
<will@sowerbutts.com>
Sat, 27 Dec 2014 14:40:57 +0000
(14:40 +0000)
Kernel/bankfixed.c
patch
|
blob
|
history
diff --git
a/Kernel/bankfixed.c
b/Kernel/bankfixed.c
index
e671ffd
..
397e0c3
100644
(file)
--- a/
Kernel/bankfixed.c
+++ b/
Kernel/bankfixed.c
@@
-38,7
+38,7
@@
int pagemap_alloc(ptptr p)
/* Realloc is trivial - we can't do anything useful */
int pagemap_realloc(uint16_t size)
{
- if (size >
=
MAP_SIZE)
+ if (size > MAP_SIZE)
return ENOMEM;
return 0;
}