From 7b42564fafdc4087a0c7167224695e40df07603f Mon Sep 17 00:00:00 2001 From: compudj Date: Sun, 23 Nov 2008 21:42:55 +0000 Subject: [PATCH] update lttctl 0.58 git-svn-id: http://ltt.polymtl.ca/svn@3158 04897980-b3bd-0310-b5e0-8ef037075253 --- trunk/ltt-control/configure.in | 2 +- trunk/ltt-control/liblttctl/liblttctl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/ltt-control/configure.in b/trunk/ltt-control/configure.in index cfe1111c..5ae9d2ea 100644 --- a/trunk/ltt-control/configure.in +++ b/trunk/ltt-control/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(ltt-control,0.57-28102008) +AM_INIT_AUTOMAKE(ltt-control,0.58-23112008) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/trunk/ltt-control/liblttctl/liblttctl.c b/trunk/ltt-control/liblttctl/liblttctl.c index 61bca62e..3c62ab94 100644 --- a/trunk/ltt-control/liblttctl/liblttctl.c +++ b/trunk/ltt-control/liblttctl/liblttctl.c @@ -57,7 +57,7 @@ enum { LTTCTL_ERR_SUPP, LTTCTL_ERR_RECVBUF, LTTCTL_ERR_TIMEOUT, - LTTCTL_ERR_PROTOCOL + LTTCTL_ERR_PROTOCOL, }; #define LTTCTL_MAXERR LTTCTL_ERR_PROTOCOL @@ -228,7 +228,7 @@ void lttctl_perror(const char *s) if (lttctl_errno) fprintf(stderr, ": %s", lttctl_errstr()); if (errno) - fprintf(stderr, ": %s", strerror(errno)); + fprintf(stderr, ": %s", strerror(-errno)); fputc('\n', stderr); } -- 2.34.1