diff options
author | Michael Jeanson <mjeanson@efficios.com> | 2016-06-16 13:57:47 -0500 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2016-06-17 20:09:02 +0200 |
commit | f01519d7b118fc1db8a05c3e3f064e7400c28e6e (patch) | |
tree | d3cbbeb206dc0691ee3ef8e688926ce9ad02e3f6 /testing/lttng-tools/0002-Fix-snapshot-del-output-with-name-on-musl.patch | |
parent | 67ae53c86c51be55b751624d071d0cbe357c1c15 (diff) | |
download | aports-f01519d7b118fc1db8a05c3e3f064e7400c28e6e.tar.bz2 aports-f01519d7b118fc1db8a05c3e3f064e7400c28e6e.tar.xz |
testing/lttng-tools: new aport
https://lttng.org
LTTng 2.0 control tools
Diffstat (limited to 'testing/lttng-tools/0002-Fix-snapshot-del-output-with-name-on-musl.patch')
-rw-r--r-- | testing/lttng-tools/0002-Fix-snapshot-del-output-with-name-on-musl.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/lttng-tools/0002-Fix-snapshot-del-output-with-name-on-musl.patch b/testing/lttng-tools/0002-Fix-snapshot-del-output-with-name-on-musl.patch new file mode 100644 index 0000000000..b5cc7ec920 --- /dev/null +++ b/testing/lttng-tools/0002-Fix-snapshot-del-output-with-name-on-musl.patch @@ -0,0 +1,11 @@ +--- lttng-tools-2.8.0.orig/src/bin/lttng/commands/snapshot.c ++++ lttng-tools-2.8.0/src/bin/lttng/commands/snapshot.c +@@ -447,7 +447,7 @@ + + errno = 0; + id = strtol(argv[1], &name, 10); +- if (id == 0 && errno == 0) { ++ if (id == 0 && (errno == 0 || errno == EINVAL)) { + if (lttng_opt_mi) { + ret = mi_del_output(UINT32_MAX, name); + } else { |