Minor whitespace fixes

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-01-29 12:34:30 +01:00
1 parent 7f0a85c106
commit 6f6ab6bc33
2 files changed
+8 -8

No files matched your search

+7 -7
View File
@@ -153,15 +153,15 @@ static int encode(int lvl)
static void utmp_save(int pre, int now)
{
struct utmp utent;
struct utmp utent;
utent.ut_type = RUN_LVL;
utent.ut_pid = (encode(pre) << 8) | (encode(now) & 0xFF);
strlcpy(utent.ut_user, "runlevel", sizeof(utent.ut_user));
utent.ut_type = RUN_LVL;
utent.ut_pid = (encode(pre) << 8) | (encode(now) & 0xFF);
strlcpy(utent.ut_user, "runlevel", sizeof(utent.ut_user));
setutent();
pututline(&utent);
endutent();
setutent();
pututline(&utent);
endutent();
}
/**