Skip to content

Commit 8c33544

Browse files
committed
Merge pull request #246 from apple/revert-245-patch-1
Revert "Fix key's typo to NSFileGroupOwnerAccountName"
2 parents 386f128 + cbc7df6 commit 8c33544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSFileManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public class NSFileManager : NSObject {
349349
let grd = getgrgid(s.st_gid)
350350
if grd != nil && grd.memory.gr_name != nil {
351351
if let name = String.fromCString(grd.memory.gr_name) {
352-
result[NSFileGroupOwnerAccountName] = name
352+
result[NSFileGroupOwnerAccountID] = name
353353
}
354354
}
355355

0 commit comments

Comments
 (0)