Fix the compiler warning
format specifies type 'unsigned long' but the argument has type 'off_t' (aka 'long long')
Signed-off-by: Christian Storm <
christi...@siemens.com>
---
handlers/copy_handler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/handlers/copy_handler.c b/handlers/copy_handler.c
index f5826ad6..d428bd54 100644
--- a/handlers/copy_handler.c
+++ b/handlers/copy_handler.c
@@ -133,7 +133,7 @@ static int copy_single_file(const char *path, off_t skipbytes, ssize_t size, str
}
if (size < 0) {
- ERROR("Size cannot be detected for %s or it is before offset 0x%lx", path, skipbytes);
+ ERROR("Size cannot be detected for %s or it is before offset 0x%llx", path, skipbytes);
close(fdin);
return -ENODEV;
}
--
2.55.0