3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

tools: change print to %zd for ssize_t

iwd-decrypt-profile was using %ld which isn't portable.
This commit is contained in:
James Prestwood 2022-02-24 09:12:07 -08:00 committed by Denis Kenzior
parent d3f7458e26
commit 1de7ef0afd

View File

@ -196,7 +196,7 @@ int main(int argc, char *argv[])
close(fd); close(fd);
if (len < 0) { 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; goto failed;
} }
} }