diff options
author | David Wragg <david@rabbitmq.com> | 2011-07-05 17:52:14 +0100 |
---|---|---|
committer | David Wragg <david@rabbitmq.com> | 2011-07-05 17:52:14 +0100 |
commit | a1116487c0804c2155d3ee0e4217c5721a17d65f (patch) | |
tree | 58d6cbdf774012fa8ba36c3f31df3c5cab7b6e08 /tools/common.c | |
parent | 9faad13ff7fa0434941c102fc34c2b0eb6065e2f (diff) | |
download | rabbitmq-c-github-ask-a1116487c0804c2155d3ee0e4217c5721a17d65f.tar.gz |
die_errno should use the err parameter, not errno
Diffstat (limited to 'tools/common.c')
-rw-r--r-- | tools/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/common.c b/tools/common.c index 02c0655..8277342 100644 --- a/tools/common.c +++ b/tools/common.c @@ -73,7 +73,7 @@ void die_errno(int err, const char *fmt, ...) va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); - fprintf(stderr, ": %s\n", strerror(errno)); + fprintf(stderr, ": %s\n", strerror(err)); exit(1); } |