Mercurial > xfs_ino_scan
changeset 17:c10bdd3261be
fixup 2gb handling when copy data is enabled
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Sat, 22 Mar 2008 18:42:40 -0400 |
parents | 75365d08e68c |
children | c515cc303bed |
files | ino_scan.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ino_scan.c Sat Mar 22 18:35:10 2008 -0400 +++ b/ino_scan.c Sat Mar 22 18:42:40 2008 -0400 @@ -289,7 +289,7 @@ #ifdef COPY_DATA if (swap16(inode->di_core.di_mode) & S_IFREG) { - snprintf(fname, PATH_MAX, "%s/%08lx-%08lx", DUMPDIR, blk, off); + snprintf(fname, PATH_MAX, "%s/%08llx-%08lx", DUMPDIR, blk, off); ffd = open(fname, O_CREAT | O_LARGEFILE | O_WRONLY, swap16(inode->di_core.di_mode) & 0777); if (ffd == -1) die();