Signed-off-by: David Woodhouse <dwmw2@infradead.org>
#: ssl.c:975
#, c-format
-msgid "File %s has suspicious size %zd\n"
-msgstr "Plik %s ma podejrzany rozmiar %zd\n"
+msgid "File %s has suspicious size %<PRId64>\n"
+msgstr "Plik %s ma podejrzany rozmiar %<PRId64>\n"
#: ssl.c:984
#, c-format
#: ssl.c:975
#, c-format
-msgid "File %s has suspicious size %zd\n"
-msgstr "Filen %s har misstänkt storlek %zd\n"
+msgid "File %s has suspicious size %<PRId64>\n"
+msgstr "Filen %s har misstänkt storlek %<PRId64>\n"
#: ssl.c:984
#, c-format
#: ssl.c:975
#, c-format
-msgid "File %s has suspicious size %zd\n"
-msgstr "Розмір файла %s є підозріливим — %zd\n"
+msgid "File %s has suspicious size %<PRId64>\n"
+msgstr "Розмір файла %s є підозріливим — %<PRId64>\n"
#: ssl.c:984
#, c-format
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <inttypes.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
return -ENOENT;
}
if (st.st_size >= INT_MAX || st.st_size < 0) {
- vpn_progress(vpninfo, PRG_INFO, _("File %s has suspicious size %zd\n"),
- vpninfo->xmlconfig, (ssize_t)st.st_size);
+ vpn_progress(vpninfo, PRG_INFO, _("File %s has suspicious size %" PRId64 "\n"),
+ vpninfo->xmlconfig, (int64_t)st.st_size);
close(fd);
return -EIO;
}