Message ID | 3652ccb1-96ef-0b0b-05d1-f661d7733dcc@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- linux-next-20180503.orig/drivers/block/zram/zram_drv.c +++ linux-next-20180503/drivers/block/zram/zram_drv.c @@ -671,7 +671,7 @@ static ssize_t read_block_state(struct f ts = ktime_to_timespec64(zram->table[index].ac_time); copied = snprintf(kbuf + written, count, - "%12lu %12lu.%06lu %c%c%c\n", + "%12zd %12lld.%06lu %c%c%c\n", index, ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC, zram_test_flag(zram, index, ZRAM_SAME) ? 's' : '.', zram_test_flag(zram, index, ZRAM_WB) ? 'w' : '.',