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:
parent
d3f7458e26
commit
1de7ef0afd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user