projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
return better errorcodes
[util-vserver.git]
/
util-vserver
/
lib
/
syscall_setflags-v13.hc
diff --git
a/util-vserver/lib/syscall_setflags-v13.hc
b/util-vserver/lib/syscall_setflags-v13.hc
index
92a3a80
..
c400c28
100644
(file)
--- a/
util-vserver/lib/syscall_setflags-v13.hc
+++ b/
util-vserver/lib/syscall_setflags-v13.hc
@@
-27,7
+27,7
@@
vc_set_flags_v13(xid_t xid, struct vc_ctx_flags const *flags)
struct vcmd_ctx_flags_v0 k_flags;
if (flags==0) {
- errno = EINVAL;
+ errno = EFAULT;
return -1;
}