[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sysvinit-devel] [PATCH 4/5] init.c: change parameter in test functi
From: |
Petter Reinholdtsen |
Subject: |
Re: [sysvinit-devel] [PATCH 4/5] init.c: change parameter in test function - redo_utmp_wtmp() |
Date: |
Mon, 10 Feb 2014 22:01:44 +0100 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
[Michał Kulling]
> Simple fix in redo_utmp_wtmp() function:
>
> in test function currently is check the same value:
>
> if ((wrote_wtmp_rlevel == 0) || (wrote_*wtmp*_rlevel == 0))
>
> Changed to:
>
> if ((wrote_wtmp_rlevel == 0) || (wrote_*utmp*_rlevel == 0))
Did you figure out what the point of checking wrote_utmp_rlevel is?
It seem like a no-brainer, but I did not dare to do this change myself
without understanding why the code was like it was and exactly what it
did. Can you explain?
--
Happy hacking
Petter Reinholdtsen