[Pkg-sysvinit-devel] Fwd: package sysvinit, last.c file

Laurent lguignard2000 at yahoo.fr
Sun Feb 19 18:09:55 UTC 2006


Hi,

I have looking for something in last.c file of sysvinit package
(sysvinit-2.86) and I found this :

"
else if (strncmp(ut.ut_user, "runlevel", 7) == 0)
        ut.ut_type = RUN_LVL;
"

at line 720 of file.

Is the number 7 normal ?
"runlevel" has a size of 8 isn't it ?

I think the correct value is 8 here...


--
Laurent Guignard
Registered as user #301590 with the Linux Counter




More information about the Pkg-sysvinit-devel mailing list