From 1de7ef0afdb9ead66dbf86521a97be62c261afad Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 24 Feb 2022 09:12:07 -0800 Subject: [PATCH] tools: change print to %zd for ssize_t iwd-decrypt-profile was using %ld which isn't portable. --- tools/iwd-decrypt-profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/iwd-decrypt-profile.c b/tools/iwd-decrypt-profile.c index e660c346..e71b56b4 100644 --- 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; } }