summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-05-30 15:02:38 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-05-30 15:02:38 +0200
commit5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373 (patch)
tree6edeb9e2b3a114351af6df84da29cd8af6554e4b /debug.h
parentd0c70934dde93a8ee260a84c1bf69ff24484d486 (diff)
downloadfio-5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373.tar.gz
fio-5921e80c5dfc9f96d2f21da6ae58f2b5d3a0b373.tar.bz2
Make it work on opensolaris
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.h b/debug.h
index 883628da..160f48c3 100644
--- a/debug.h
+++ b/debug.h
@@ -39,7 +39,7 @@ extern unsigned int fio_debug_jobno, *fio_debug_jobp;
&& pid != *fio_debug_jobp) \
break; \
log_info("%-8s ", debug_levels[(type)].name); \
- log_info("%-5u ", pid); \
+ log_info("%-5u ", (int) pid); \
log_info(str, ##args); \
} while (0)