commit 1de7ef0afdb9ead66dbf86521a97be62c261afad
parent d3f7458e26ae29f8f222d0a8ddf88ac6d71888f2
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 24 Feb 2022 09:12:07 -0800
tools: change print to %zd for ssize_t
iwd-decrypt-profile was using %ld which isn't portable.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/iwd-decrypt-profile.c b/tools/iwd-decrypt-profile.c
@@ -196,7 +196,7 @@ int main(int argc, char *argv[])
close(fd);
if (len < 0) {
- printf("Unable to write to %s (%ld)\n", outfile, len);
+ printf("Unable to write to %s (%zd)\n", outfile, len);
goto failed;
}
}