File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -369,8 +369,7 @@ int dfs_file_stat(const char *path, struct stat *buf)
369369
370370 if ((fs = dfs_filesystem_lookup (fullpath )) == NULL )
371371 {
372- LOG_E (
373- "can't find mounted filesystem on this path:%s" , fullpath );
372+ LOG_E ("can't find mounted filesystem on this path:%s" , fullpath );
374373 rt_free (fullpath );
375374
376375 return - ENOENT ;
@@ -399,8 +398,7 @@ int dfs_file_stat(const char *path, struct stat *buf)
399398 if (fs -> ops -> stat == NULL )
400399 {
401400 rt_free (fullpath );
402- LOG_E (
403- "the filesystem didn't implement this function" );
401+ LOG_E ("the filesystem didn't implement this function" );
404402
405403 return - ENOSYS ;
406404 }
@@ -565,7 +563,7 @@ void ls(const char *pathname)
565563 }
566564 else
567565 {
568- rt_kprintf ("%-25lu\n" , stat .st_size );
566+ rt_kprintf ("%-25lu\n" , ( unsigned long ) stat .st_size );
569567 }
570568 }
571569 else
You can’t perform that action at this time.
0 commit comments