summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-08 20:40:13 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-08 20:40:13 +0000
commite2c68c2122cacc17c77b4b90abfc0807e3b85dc3 (patch)
tree9a57d9da8a225ac77215a57fba6d078672bafcd7 /loader2/method.c
parent92c48f0fa4f279bf45a46b57d21ea6b1e7d207a5 (diff)
downloadanaconda-e2c68c2122cacc17c77b4b90abfc0807e3b85dc3.tar.gz
anaconda-e2c68c2122cacc17c77b4b90abfc0807e3b85dc3.tar.xz
anaconda-e2c68c2122cacc17c77b4b90abfc0807e3b85dc3.zip
and need it here too
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader2/method.c b/loader2/method.c
index f9ca9cbf9..1a8c633af 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -20,6 +20,7 @@
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <inttypes.h>
#include <libgen.h>
#include <newt.h>
#include <stdlib.h>
@@ -596,7 +597,7 @@ int copyFileAndLoopbackMount(int fd, char * dest, int flags,
rc = copyFileFd(fd, dest);
stat(dest, &sb);
- logMessage("copied %jd bytes to %s (%s)", sb.st_size, dest,
+ logMessage("copied %" PRId64 " bytes to %s (%s)", sb.st_size, dest,
((rc) ? " incomplete" : "complete"));
if (rc) {