From 05549e3e03ab62e55df1260010cc11b2b5731921 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 cfe1111..5ae9d2e 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 61bca62..3c62ab9 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