windows-64bit-printf-sanity-20090218
[openafs.git] / src / volser / restorevol.c
index aadac4c..c04f8ea 100644 (file)
@@ -140,7 +140,7 @@ readdata(buffer, size)
            if (code < 0)
                fprintf(stderr, "Code = %d; Errno = %d\n", code, errno);
            else
-               fprintf(stderr, "Read %d bytes out of %lld\n", code, (afs_uintmax_t)size);
+               fprintf(stderr, "Read %d bytes out of %" AFS_INT64_FMT "\n", code, (afs_uintmax_t)size);
        }
        if ((code >= 0) && (code < BUFSIZE))
            buffer[size] = 0;   /* Add null char at end */