summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <Panu Matilainen pmatilai@redhat.com>2011-07-12 10:51:07 +0300
committerPanu Matilainen <Panu Matilainen pmatilai@redhat.com>2011-07-12 10:51:07 +0300
commitbbf85d4d4fe692030de0b39f4c289da0434a9890 (patch)
treebb0094868ea23a194d9bd41b47c6e047de0b92c0
parentacd04b1a66245e057a928156036fee55f28bb355 (diff)
downloadrpm-bbf85d4d4fe692030de0b39f4c289da0434a9890.tar.gz
rpm-bbf85d4d4fe692030de0b39f4c289da0434a9890.tar.bz2
rpm-bbf85d4d4fe692030de0b39f4c289da0434a9890.zip
Whoops, wrong variable passed to io debugging
-rw-r--r--rpmio/rpmio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c
index 36c98f157..aef5a8510 100644
--- a/rpmio/rpmio.c
+++ b/rpmio/rpmio.c
@@ -1506,7 +1506,7 @@ fprintf(stderr, "*** Fopen WTFO path %s fmode %s\n", path, fmode);
fd = Fdopen(fd, fmode);
DBGIO(fd, (stderr, "==>\tFopen(\"%s\",%x,0%o) %s\n",
- path, (unsigned)flags, (unsigned)fmode, fdbg(fd)));
+ path, (unsigned)flags, (unsigned)perms, fdbg(fd)));
return fd;
}