Changeset 30274 in vbox
- Timestamp:
- Jun 17, 2010 8:19:58 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62796
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTFsQueries.cpp
r28800 r30274 77 77 } 78 78 79 uint32_t u32Type; 80 rc = RTFsQueryType(argv[i], &u32Type); 81 if (RT_FAILURE(rc)) 82 { 83 RTPrintf("tstRTFsQueries: RTFsQueryType failed, rc=%Rrc\n", rc); 84 cErrors++; 85 } 86 else 87 { 88 static const char *s_apszType[] = 89 { 90 "unknown", 91 "ext", 92 "ext2", 93 "ext3", 94 "ext4", 95 "tmpfs", 96 "jfs", 97 "nfs", 98 "hfs", 99 "cifs", 100 "fat", 101 "ntfs" 102 }; 103 104 if (u32Type < RT_ELEMENTS(s_apszType)) 105 RTPrintf("tstRTFsQueries: file system type is '%s'\n", s_apszType[u32Type]); 106 else 107 RTPrintf("tstRTFsQueries: unknown file system type %d\n", u32Type); 108 } 109 79 110 RTFSPROPERTIES Props; 80 111 rc = RTFsQueryProperties(argv[i], &Props);
Note:
See TracChangeset
for help on using the changeset viewer.