소스 검색

bin/dsm: print SMB_STAT_ISDIR

Thomas Guillem 9 년 전
부모
커밋
6b580ff641
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      bin/dsm.c

+ 2 - 1
bin/dsm.c

@@ -245,7 +245,8 @@ int main(int ac, char **av)
 
   if (st != NULL)
   {
-    printf("File '%s' is %"PRIu64" bytes long\n", fname, smb_stat_get(st, SMB_STAT_SIZE));
+    printf("File '%s' is %"PRIu64" bytes long. is_dir: %"PRIu64"\n", fname,
+           smb_stat_get(st, SMB_STAT_SIZE), smb_stat_get(st, SMB_STAT_ISDIR));
   }