mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +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;
|
||||
}
|
||||
|
||||
fn slab_create_large(self: *Self) !*Slab {
|
||||
fn slab_create_large(self: *Self) mm.Error!*Slab {
|
||||
self.color += self.alignment;
|
||||
|
||||
if (self.color > self.max_color) {
|
||||
|
||||
Reference in New Issue
Block a user