]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc: Distinguish pthread_mutex_unlock error messages
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Fri, 8 Dec 2017 02:02:18 +0000 (00:02 -0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sun, 17 Dec 2017 15:27:02 +0000 (16:27 +0100)
commit6dd366633d9ff88cf8dabbd303ba80868c8c70e0
treeab9010aa3f017fee6fc31ae7762f276e43be70bd
parentb8e44b0912099948dbd69bf7e9df8111903c3bc4
lxc: Distinguish pthread_mutex_unlock error messages

The same message exists in lxclock.c and cgmanager.c, so print the
filename along with the message.

Before this patch:
lxc-destroy -n u1
pthread_mutex_unlock returned:1 Operation not permitted

After this patch:
xc-destroy -n u1
lxclock.c: pthread_mutex_unlock returned:1 Operation not permitted

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
src/lxc/cgroups/cgmanager.c
src/lxc/lxclock.c