fstrim: fix typo in log message for FIDTRIM case
Bug: 15593563
Change-Id: I2b5fbbfb694e1b87de6c14ab63f1a5f803bbbc36
diff --git a/fstrim.c b/fstrim.c
index 7f83ff7..58fd15e 100644
--- a/fstrim.c
+++ b/fstrim.c
@@ -113,7 +113,7 @@
}
#endif
if (ret) {
- SLOGE("FIDTRIM ioctl failed on %s (error %d/%s)", fstab->recs[i].mount_point, errno, strerror(errno));
+ SLOGE("%s ioctl failed on %s (error %d/%s)", deep_trim ? "FIDTRIM" : "FITRIM", fstab->recs[i].mount_point, errno, strerror(errno));
ret = -1;
} else {
SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point);