X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Fdirs.c;h=2a23f9486b62c940530954b69b1bdf346ff3b8f7;hp=49d50529b689a3c1720dd739caedc6dafdd2ea00;hb=498a402f5c76583149433224df7b8fcf88647a04;hpb=814574507fef62cfe83f6d1c579aa4b6736443a2 diff --git a/restore/dirs.c b/restore/dirs.c index 49d5052..2a23f94 100644 --- a/restore/dirs.c +++ b/restore/dirs.c @@ -42,7 +42,7 @@ #ifndef lint static const char rcsid[] = - "$Id: dirs.c,v 1.27 2004/04/21 09:15:22 stelian Exp $"; + "$Id: dirs.c,v 1.28 2004/05/25 10:39:30 stelian Exp $"; #endif /* not lint */ #include @@ -518,7 +518,7 @@ rst_seekdir(RST_DIR *dirp, OFF_T loc, OFF_T base) return; loc -= base; if (loc < 0) - fprintf(stderr, "bad seek pointer to rst_seekdir %lld\n", loc); + fprintf(stderr, "bad seek pointer to rst_seekdir %lld\n", (long long int)loc); (void) LSEEK(dirp->dd_fd, base + (loc & ~(DIRBLKSIZ - 1)), SEEK_SET); dirp->dd_loc = loc & (DIRBLKSIZ - 1); if (dirp->dd_loc != 0)