lttng_strerror(): accept positive and negative codes
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 13 Jul 2021 14:48:19 +0000 (10:48 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 9 Dec 2021 19:43:32 +0000 (14:43 -0500)
commit8346beb68a50caf0b63edaca526250c0068f66d3
treee56f7fce74b433703bb59d75dee6df8cef52382a
parent741ecffbe095ebf26b5c217896786f7f52ff2b15
lttng_strerror(): accept positive and negative codes

Some functions return positive `lttng_error_code` enumerator values
while other return negative values.

Make lttng_strerror() accept positive and negative codes. This improves
the API UX and will make the documentation less complex.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I359cef98ae32991d1a01b7f2cd484ece7bab2df9
src/lib/lttng-ctl/lttng-ctl.cpp
This page took 0.030006 seconds and 4 git commands to generate.