Fs_mgr: Fix format code

Suggested printing for off_t is to cast to intmax_t and print that.

Follow-up to https://android-review.googlesource.com/133111.

Change-Id: Icff6844044c3d0fa6372c3f399453a526fd89954
This commit is contained in:
Andreas Gampe 2015-03-04 13:29:12 -08:00
parent 8ee42f9c50
commit eb69e85768
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ static int check_verity_restart(const char *fname)
}
if (lseek(fd, s.st_size - size, SEEK_SET) == -1) {
ERROR("Failed to lseek %zu %s (%s)\n", s.st_size - size, fname,
ERROR("Failed to lseek %jd %s (%s)\n", (intmax_t)(s.st_size - size), fname,
strerror(errno));
goto out;
}