diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-11-27 19:58:34 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-11-27 19:58:34 +0000 |
commit | 3e53f28f6ea9a35291b7917eca3657059f1b8d0b (patch) | |
tree | df45308f3ca1f430bcb88ec93ae9c401ce234064 /loginrec.c | |
parent | 96823c424df252198ed3a211c3c921a346df2a5a (diff) |
- Fixed a couple of compile warnings
- First public monotone import
--HG--
extra : convert_revision : 79e029a8b3adf823f0b6f7d6b1b5c4b9ab868eaa
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1401,8 +1401,8 @@ lastlog_filetype(char *filename) { struct stat st; - if (stat(LASTLOG_FILE, &st) != 0) { - dropbear_log(LOG_WARNING, "lastlog_perform_login: Couldn't stat %s: %s", LASTLOG_FILE, + if (stat(filename, &st) != 0) { + dropbear_log(LOG_WARNING, "lastlog_perform_login: Couldn't stat %s: %s", filename, strerror(errno)); return 0; } |