light: correct error code OOM

This commit is contained in:
Frank Liepold 2013-05-07 11:17:30 +02:00 committed by Thomas Schoebel-Theuer
parent 30f97cd23f
commit 57b8d173ff
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ done:
limit += global_free_space_0;
if (unlikely(global_total_space < limit)) {
return -ENOMEM;
return -ENOSPC;
}
return 0;
}