File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,9 @@ static uint64_t getStorageSize(void)
4848
4949static uint64_t getFreeStorageSize (void )
5050{
51- NSNumber *freeStorageSize = [[[NSFileManager defaultManager ] attributesOfFileSystemForPath: NSHomeDirectory () error: nil ]
52- objectForKey: NSFileSystemFreeSize ];
51+ NSNumber *freeStorageSize =
52+ [[[NSFileManager defaultManager ] attributesOfFileSystemForPath: NSHomeDirectory ()
53+ error: nil ] objectForKey: NSFileSystemFreeSize ];
5354 return freeStorageSize.unsignedLongLongValue ;
5455}
5556
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ - (NSDictionary *)systemInfo
232232 COPY_PRIMITIVE (parentProcessID);
233233 COPY_STRING (deviceAppHash);
234234 COPY_STRING (buildType);
235- COPY_PRIMITIVE (storageSize); // this field is populated in an optional monitor
235+ COPY_PRIMITIVE (storageSize); // this field is populated in an optional monitor
236236 COPY_PRIMITIVE (freeStorageSize); // this field is populated in an optional monitor
237237 COPY_PRIMITIVE (memorySize);
238238 COPY_PRIMITIVE (freeMemory);
You can’t perform that action at this time.
0 commit comments