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

package sysvinit, last.c file


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...
Can anyone confirm that ?


Registered as user #301590 with the Linux Counter

Reply to: