summaryrefslogtreecommitdiff
path: root/mtd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2012-05-16 12:29:09 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2012-05-16 12:29:09 +0200
commit318a273ea9248c363d8cbc3a053be2ef4adff902 (patch)
tree92c1ef2508e20840f65d9a64bae42a6f2012310c /mtd.c
parent8560ef291ca06948e5f49bccf4bf1e714654b718 (diff)
downloadstrace-318a273ea9248c363d8cbc3a053be2ef4adff902.tar.gz
strace-318a273ea9248c363d8cbc3a053be2ef4adff902.tar.bz2
strace-318a273ea9248c363d8cbc3a053be2ef4adff902.tar.xz
Use %d printf format instead of %i everywhere
* loop.c (loop_ioctl): Use %d instead of %i. * mtd.c (mtd_ioctl): Likewise. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mtd.c')
-rw-r--r--mtd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtd.c b/mtd.c
index 976024e..999fea6 100644
--- a/mtd.c
+++ b/mtd.c
@@ -267,7 +267,7 @@ int mtd_ioctl(struct tcb *tcp, long code, long arg)
if (!verbose(tcp) || umove(tcp, arg, &i) < 0)
return 0;
- tprintf(", [%i]", i);
+ tprintf(", [%d]", i);
return 1;
case MTDFILEMODE: