commit | 39a8ade7eebc945a112c10ba3331bd9a0934dbec | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jul 31 19:20:51 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jul 30 23:37:06 2014 +0000 |
tree | 3d054ab4836ac3640d8b82d9df43585aff397e68 | |
parent | e7ec28bba7bb8573a7719f38b423b16b8d7c07da [diff] | |
parent | 853574ddc766da725dd114fe1d1102c59f713f3b [diff] |
Merge "Fix sdcard truncates."
diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index e413596..9b55b33 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c
@@ -903,7 +903,7 @@ /* XXX: incomplete implementation on purpose. * chmod/chown should NEVER be implemented.*/ - if ((req->valid & FATTR_SIZE) && truncate(path, req->size) < 0) { + if ((req->valid & FATTR_SIZE) && truncate64(path, req->size) < 0) { return -errno; }