blob: 8e2aff2d3682e3e725ce15e59a2dedb4b3deabf2 [file] [log] [blame]
#include <errno.h>
#include "syscall.h"
long __syscall_ret(unsigned long r) {
if (r > -4096UL) {
errno = -r;
return -1;
}
return r;
}