summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--lib/oofatfs/ff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oofatfs/ff.c b/lib/oofatfs/ff.c
index fca6c4f87d..346f3df970 100644
--- a/lib/oofatfs/ff.c
+++ b/lib/oofatfs/ff.c
@@ -4803,7 +4803,7 @@ FRESULT f_setlabel (
dj.obj.fs = fs;
/* Get length of given volume label */
- for (slen = 0; (UINT)label[slen] >= ' '; slen++) ; /* Get name length */
+ for (slen = 0; (UINT)label[slen] >= ' '; slen++) { } /* Get name length */
#if _FS_EXFAT
if (fs->fs_type == FS_EXFAT) { /* On the exFAT volume */