Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- Subject: Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- From: Michael Smith <email@hidden>
- Date: Tue, 12 Jun 2007 01:18:08 -0700
On Jun 11, 2007, at 11:01 PM, Chase Colman wrote: char name[24]; sprintf(name,"ChangeLater_External%ld",_partitionCount); childMedia->setName(name); char location[12]; sprintf(location,"%ld",_partitionCount);
I don't have an answer for your actual problem, but I'm puzzled to note that you're not sure whether 4 bytes or 12 bytes is enough for a "long".
Given that long != UInt32, you might want to make _partitionCount a plain int, and use .2d or similar. 8)
One thing to check; are you sure you're not recursively matching the child you've just instantiated? That would be bad...
= Mike |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden