vold: fix errors inside ALOGV
Fix errors exposed by adding compile-time checking to disabled ALOGVs.
Change-Id: I29bd6e9a7648ccca02e0e9a96b79ee0ea7b5cfc6
diff --git a/cryptfs.c b/cryptfs.c
index 6247014..a742a63 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -276,7 +276,7 @@
/* If the keys are kept on a raw block device, do not try to truncate it. */
if (S_ISREG(statbuf.st_mode)) {
if (ftruncate(fd, 0x4000)) {
- SLOGE("Cannot set footer file size\n", fname);
+ SLOGE("Cannot set footer file size\n");
goto errout;
}
}