diff --git a/local-pull.c b/local-pull.c
index 1eec8927dbfa3af934651b25ded738d192706286..3a342ab18390d7ce0df1f970a4961b31548a9417 100644 (file)
--- a/local-pull.c
+++ b/local-pull.c
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
+#include <limits.h>
#include "cache.h"
#include "commit.h"
#include <errno.h>
munmap(map, st.st_size);
close(ofd);
if (status)
- fprintf(stderr, "cannot write %s (%ld bytes)\n",
- dest_filename, st.st_size);
+ fprintf(stderr, "cannot write %s\n", dest_filename);
else
pull_say("copy %s\n", hex);
return status;