summaryrefslogtreecommitdiffstats
path: root/login-utils/last.c
diff options
context:
space:
mode:
authorSebastian Rasmussen2016-05-29 23:11:53 +0200
committerSebastian Rasmussen2016-05-31 23:40:21 +0200
commit9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch)
tree369493906bb3c1c6f2554609c737ada0230f4b2e /login-utils/last.c
parentdocs: Fix various typos (diff)
downloadkernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'login-utils/last.c')
-rw-r--r--login-utils/last.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/login-utils/last.c b/login-utils/last.c
index 1ffd226a0..0c234f5e4 100644
--- a/login-utils/last.c
+++ b/login-utils/last.c
@@ -635,7 +635,7 @@ static int is_phantom(const struct last_control *ctl, struct utmp *ut)
static void process_wtmp_file(const struct last_control *ctl,
const char *filename)
{
- FILE *fp; /* Filepointer of wtmp file */
+ FILE *fp; /* File pointer of wtmp file */
struct utmp ut; /* Current utmp entry */
struct utmplist *ulist = NULL; /* All entries */
@@ -858,7 +858,7 @@ static void process_wtmp_file(const struct last_control *ctl,
break;
default:
- warnx("unrecogized ut_type: %d", ut.ut_type);
+ warnx("unrecognized ut_type: %d", ut.ut_type);
}
/*