X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fcheckconfig.c;h=9e5c798e9f06682f7ba967f8f415c16f9047a9b9;hb=b0a62d195efca12c5cb9e7c0b3bea3be2cd57fc9;hp=a5f17c251ec7e534729191d689af1848df9b7094;hpb=fc28db1eb4146796ec27c2fb15780d6303120261;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;