diff --git a/kernel/sy_old/mars_light.c b/kernel/sy_old/mars_light.c index 6ae39969..7a48ccd4 100644 --- a/kernel/sy_old/mars_light.c +++ b/kernel/sy_old/mars_light.c @@ -197,7 +197,7 @@ done: limit += global_free_space_0; if (unlikely(global_total_space < limit)) { - return -ENOMEM; + return -ENOSPC; } return 0; }