commit | a13e5d5584ffdff790b2fecc4ccd3b89d53e1724 | [log] [tgz] |
---|---|---|
author | Martin Åberg <martin.aberg@gaisler.com> | Mon Nov 16 21:09:14 2020 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Nov 17 18:48:10 2020 -0500 |
tree | f5a72e9f1f91357cccd69fa5887ed1dde6dd48a6 | |
parent | cb93c7ed851995524e736a2f0721202c6ba6929b [diff] |
tests/fs/fat: correct format specifiers Make sure that "%ld" gets a long int argument. This commit eliminates a couple of compiler warnings of this kind: test_fat_file.c: In function 'test_file_truncate': test_fat_file.c:180:11: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'off_t' {aka 'int'} [-Werror=format=] 180 | TC_PRINT("Original size of file = %ld\n", orig_pos); Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>