projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
initial checkin
[util-vserver.git]
/
util-vserver
/
lib
/
getvserverctx.c
diff --git
a/util-vserver/lib/getvserverctx.c
b/util-vserver/lib/getvserverctx.c
index
71de198
..
b565e4e
100644
(file)
--- a/
util-vserver/lib/getvserverctx.c
+++ b/
util-vserver/lib/getvserverctx.c
@@
-45,7
+45,7
@@
getCtxFromFile(char const *pathname)
(lseek(fd, 0, SEEK_SET)==-1))
return VC_NOCTX;
- BS;
+ {
char buf[len+1];
char *errptr;
xid_t res;
@@
-57,7
+57,7
@@
getCtxFromFile(char const *pathname)
if (*errptr!='\0' && *errptr!='\n') return VC_NOCTX;
return res;
- BE;
+ }
}
xid_t