Re: [PATCH] Fix crash on termination before udev queue initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 May 2011, Kay Sievers stated:
>> --- a/udev/udevd.c
>> +++ b/udev/udevd.c
>> @@ -69,7 +69,7 @@ static void log_fn(struct udev *udev, int priority,
>> Â}
>>
>> Âstatic struct udev_rules *rules;
>> -static struct udev_queue_export *udev_queue_export;
>> +static struct udev_queue_export *udev_queue_export = NULL;
>
> That's not needed for static vars.

Oh yes. *slaps self*

Obviously I am too tired to be working on Hello World, let alone stuff
running as root...

btw, that patch might have worked. I had a trouble-free boot without
pausing this time... but of course this is an intermittent bug so it
is hard to be sure.

I'll yell if it goes wrong again.

-- 
NULL && (void)
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux