Skip to content

Commit e86f8f4

Browse files
committed
<rdar://10996650>
Passed in the right number of parameters for CFDictionaryCreate llvm-svn: 152182
1 parent ecc1247 commit e86f8f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Host/macosx/Host.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ repeat with the_window in (get windows)\n\
13151315
CFStringRef prompt = CFSTR("The debugger needs administrator rights to debug a root process.");
13161316
CFStringRef keys[] = { CFSTR("en") };
13171317
CFTypeRef values[] = { prompt };
1318-
CFDictionaryRef promptDict = CFDictionaryCreate(kCFAllocatorDefault, (const void **)keys, (const void **)values, 2, &kCFCopyStringDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
1318+
CFDictionaryRef promptDict = CFDictionaryCreate(kCFAllocatorDefault, (const void **)keys, (const void **)values, 1, &kCFCopyStringDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
13191319

13201320
CFStringRef keys1[] = { CFSTR("class"), CFSTR("group"), CFSTR("comment"), CFSTR("default-prompt"), CFSTR("shared") };
13211321
CFTypeRef values1[] = { CFSTR("user"), CFSTR("admin"), CFSTR("com.apple.lldb.LaunchUsingXPC"), promptDict, kCFBooleanFalse };

0 commit comments

Comments
 (0)