[lxc-devel] [lxc/lxc] 81a14c: lxc: Distinguish pthread_mutex_unlock error messag...

GitHub noreply at github.com
Sat Dec 9 04:10:52 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 81a14ca9443ea6934f6cb393b8dae206084ec43f
      https://github.com/lxc/lxc/commit/81a14ca9443ea6934f6cb393b8dae206084ec43f
  Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M src/lxc/cgroups/cgmanager.c
    M src/lxc/lxclock.c

  Log Message:
  -----------
  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 at gmail.com>


  Commit: 6d75f4cb0b5ddda9fc0a93287ae8ea6efefc3610
      https://github.com/lxc/lxc/commit/6d75f4cb0b5ddda9fc0a93287ae8ea6efefc3610
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-12-08 (Fri, 08 Dec 2017)

  Changed paths:
    M src/lxc/cgroups/cgmanager.c
    M src/lxc/lxclock.c

  Log Message:
  -----------
  Merge pull request #2012 from marcosps/pthread_mtx_msg

lxc: Distinguish pthread_mutex_unlock error messages


Compare: https://github.com/lxc/lxc/compare/be459e999784...6d75f4cb0b5d


More information about the lxc-devel mailing list