On 17.07.2025 14:58, Grygorii Strashko wrote:
> On 23.06.25 21:28, dm...@proton.me wrote:
>> --- a/xen/arch/arm/domain_build.c
>> +++ b/xen/arch/arm/domain_build.c
>> @@ -2080,17 +2080,17 @@ void __init create_dom0(void)
>>   
>>       dom0 = domain_create(domid, &dom0_cfg, flags);
>>       if ( IS_ERR(dom0) )
>> -        panic("Error creating domain 0 (rc = %ld)\n", PTR_ERR(dom0));
>> +        panic("Error creating d%d (rc = %ld)\n", domid, PTR_ERR(dom0));
> 
> May be you meant %pd, not d%d?

Certainly not, as the argument is a number (and dom0 isn't a valid pointer).

Jan

Reply via email to