mirror of
https://github.com/rdmsr/zag.git
synced 2026-11-01 23:58:21 +00:00
fix(mm/zone): make error return consistent
This commit is contained in:
+1
-1
@@ -569,7 +569,7 @@ pub const Zone = struct {
|
|||||||
return slab;
|
return slab;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn slab_create_large(self: *Self) !*Slab {
|
fn slab_create_large(self: *Self) mm.Error!*Slab {
|
||||||
self.color += self.alignment;
|
self.color += self.alignment;
|
||||||
|
|
||||||
if (self.color > self.max_color) {
|
if (self.color > self.max_color) {
|
||||||
|
|||||||
Reference in New Issue
Block a user