Re: Problem with pcidump.c
Re: Problem with pcidump.c
- Subject: Re: Problem with pcidump.c
- From: Fritz Anderson <email@hidden>
- Date: Wed, 22 Sep 2010 10:18:07 -0500
On 22 Sep 2010, at 6:08 AM, nithesh salian wrote: Assertion failed: (kIOReturnSuccess == status), function main, file pcidump.c, line 462.
The context is:
io_registry_entry_t service; io_connect_t connect; kern_return_t status;
service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleACPIPlatformExpert")); assert(service); if (service) { status = IOServiceOpen(service, mach_task_self(), 0, &connect); IOObjectRelease(service); assert(kIOReturnSuccess == status); }
… at the very beginning of main(), so the rest of the file isn't relevant.
So you know that status does not equal kIOReturnSuccess. What does it equal? You are using a debugger, of course?
— F
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden