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 | a115b3b8f4c2c624b53a6c3234bdb66e7e3fbb39 (patch) | |
tree | df45308f3ca1f430bcb88ec93ae9c401ce234064 /loginrec.c | |
parent | 9cc69dd4fa1552d33db545fb1afdd5c06042dd3c (diff) | |
download | dropbear-a115b3b8f4c2c624b53a6c3234bdb66e7e3fbb39.tar.gz |
- Fixed a couple of compile warnings
- First public monotone import
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; } |