]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: log prlimit setup 2689/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 10 Oct 2018 11:53:00 +0000 (13:53 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 10 Oct 2018 11:53:00 +0000 (13:53 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index 856fde1ddbc10bb7381b9560c2e285d8b633446a..a45d882918b3909eb5b71b7e4722ea50c26da3e4 100644 (file)
@@ -2647,8 +2647,10 @@ int setup_resource_limits(struct lxc_list *limits, pid_t pid)
                        SYSERROR("Failed to set limit %s", lim->resource);
                        return -1;
                }
+
+               TRACE("Setup \"%s\" limit", lim->resource);
 #else
-               ERROR("Cannot set limit %s as prlimit is missing", lim->resource);
+               ERROR("Cannot set limit \"%s\" as prlimit is missing", lim->resource);
                return -1;
 #endif
        }