Explorar o código

[components][dfs][filesystems][elmfat]修正代码风格

zhangjun %!s(int64=5) %!d(string=hai) anos
pai
achega
d08f533659
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      components/dfs/filesystems/elmfat/dfs_elm.c

+ 3 - 1
components/dfs/filesystems/elmfat/dfs_elm.c

@@ -495,7 +495,9 @@ int dfs_elm_ioctl(struct dfs_fd *file, int cmd, void *args)
             {
                 fd->fptr = length;
                 result = f_truncate(fd);
-            }else{
+            }
+            else
+            {
                 result = f_lseek(fd, length);
             }
             /* restore file read/write point */