chiark / gitweb /
cgroup: mention signal name when killing cgroups
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 22:22:37 +0000 (00:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 22:22:37 +0000 (00:22 +0200)
cgroup.c

index 83c5d40..410eaf7 100644 (file)
--- a/cgroup.c
+++ b/cgroup.c
@@ -183,7 +183,7 @@ int cgroup_bonding_kill(CGroupBonding *b, int sig) {
         if (!(s = set_new(trivial_hash_func, trivial_compare_func)))
                 return -ENOMEM;
 
-        log_debug("Killing processes from process group %s:%s", b->controller, b->path);
+        log_debug("Killing processes from process group %s:%s with %s", b->controller, b->path, strsignal(sig));
 
         do {
                 void *iterator;