diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libio/tst-ftell-active-handler.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2014-12-10 Joseph Myers <joseph@codesourcery.com> + + * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld + format for long int variable. + 2014-12-10 Anders Kaseorg <andersk@MIT.EDU> [BZ #10672] diff --git a/libio/tst-ftell-active-handler.c b/libio/tst-ftell-active-handler.c index 6151554ffd..7be75bc45a 100644 --- a/libio/tst-ftell-active-handler.c +++ b/libio/tst-ftell-active-handler.c @@ -165,7 +165,7 @@ do_ftruncate_test (const char *filename) it. */ if (offset != new_offset) { - printf ("Incorrect offset. Expected %zu, but got %ld\n", + printf ("Incorrect offset. Expected %ld, but got %ld\n", offset, new_offset); ret |= 1; |