projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Close curdir in vsysctl
[util-vserver.git]
/
src
/
vserver-info.c
diff --git
a/src/vserver-info.c
b/src/vserver-info.c
index
824744f
..
29a3b0c
100644
(file)
--- a/
src/vserver-info.c
+++ b/
src/vserver-info.c
@@
-248,7
+248,7
@@
getAPIConfig(char *buf)
vc_vci_t v = vc_get_vci();
size_t l;
- if (v==-1) return 0;
+ if (v==(vc_vci_t)-1) return 0;
l = utilvserver_fmt_xuint64(0, (unsigned int)v);
memcpy(buf, "0x0000000000000000", 19);