projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e3f1125
)
Fix builds without legacy enabled
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 3 Jun 2011 10:21:08 +0000 (12:21 +0200)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Fri, 3 Jun 2011 10:21:08 +0000 (12:21 +0200)
src/vkill.c
patch
|
blob
|
history
diff --git
a/src/vkill.c
b/src/vkill.c
index
ce9213b
..
1ce6e52
100644
(file)
--- a/
src/vkill.c
+++ b/
src/vkill.c
@@
-154,10
+154,11
@@
kill_wrapper(xid_t xid, char const *pid_s, int sig)
int err = errno;
if (vc_get_version(VC_CAT_COMPAT)==-1)
return kill_wrapper_legacy(xid, pid_s, sig);
- else
-#endif
- {
+ else {
errno = err;
+#else
+ {
+#endif
perror("vkill: vc_ctx_kill()");
return 1;
}