X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcheckconfig.c;h=9e5c798e9f06682f7ba967f8f415c16f9047a9b9;hb=95e2774070e989fe9cf9f48dae5fa054e55e2a3e;hp=a5f17c251ec7e534729191d689af1848df9b7094;hpb=3b34449070c0846fdc49436d1edd5916512f1644;p=util-vserver.git diff --git a/lib/checkconfig.c b/lib/checkconfig.c index a5f17c2..9e5c798 100644 --- a/lib/checkconfig.c +++ b/lib/checkconfig.c @@ -1,4 +1,4 @@ -// $Id: checkconfig.c 2415 2006-12-08 13:24:49Z dhozac $ --*- c++ -*-- +// $Id: checkconfig.c 2464 2007-01-20 13:55:42Z dhozac $ --*- c++ -*-- // Copyright (C) 2003 Enrico Scholz // Copyright (C) 2006 Daniel Hokka Zakrisson @@ -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;