projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2ad38cf
)
Return 0 on any error, older kernels will return -EPERM for unknown syscalls.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 20 Jan 2007 13:55:42 +0000 (13:55 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 20 Jan 2007 13:55:42 +0000 (13:55 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2464
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
lib/checkconfig.c
patch
|
blob
|
history
diff --git
a/lib/checkconfig.c
b/lib/checkconfig.c
index
8c3f696
..
0e073e1
100644
(file)
--- a/
lib/checkconfig.c
+++ b/
lib/checkconfig.c
@@
-34,7
+34,7
@@
utilvserver_checkCompatConfig()
if (res==0) {
res = vc_get_vci();
v_errno = errno;
- if (res==(uint32_t)-1 && (errno==ENOSYS || errno==EINVAL)) res=0;
+ if (res==(uint32_t)-1) res=0;
}
errno = v_errno;