]> git.pld-linux.org Git - packages/util-linux.git/blame - util-linux-login-lastlog.patch
dir attribute for dirs
[packages/util-linux.git] / util-linux-login-lastlog.patch
CommitLineData
a7980c08
ER
1--- util-linux-2.21/login-utils/login.c~ 2012-02-10 16:16:07.000000000 +0200
2+++ util-linux-2.21/login-utils/login.c 2012-03-05 17:33:34.932052369 +0200
3@@ -503,7 +503,7 @@
4 if (!cxt->pwd)
5 return;
6
7- fd = open(_PATH_LASTLOG, O_RDWR, 0);
8+ fd = open(_PATH_LASTLOG, O_RDWR|O_CREAT, 0);
9 if (fd < 0)
10 return;
f212f39a 11
This page took 0.063206 seconds and 4 git commands to generate.