diff options
Diffstat (limited to 'src/filelock.c')
-rw-r--r-- | src/filelock.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/filelock.c b/src/filelock.c index 1b32b931107..57e3990041a 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -253,14 +253,7 @@ get_boot_time_1 (const char *filename, bool newest) struct utmp ut, *utp; if (filename) - { - /* On some versions of IRIX, opening a nonexistent file name - is likely to crash in the utmp routines. */ - if (faccessat (AT_FDCWD, filename, R_OK, AT_EACCESS) != 0) - return; - - utmpname (filename); - } + utmpname (filename); setutent (); |