aboutsummaryrefslogtreecommitdiff
path: root/util-linux/last.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/last.c')
-rw-r--r--util-linux/last.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/last.c b/util-linux/last.c
index 689aa7a34..24ce7a8d8 100644
--- a/util-linux/last.c
+++ b/util-linux/last.c
@@ -100,7 +100,7 @@ int last_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
100 pos = lseek(file, pos - sizeof(ut), SEEK_SET); 100 pos = lseek(file, pos - sizeof(ut), SEEK_SET);
101 while ((n = full_read(file, &ut, sizeof(ut))) > 0) { 101 while ((n = full_read(file, &ut, sizeof(ut))) > 0) {
102 if (n != sizeof(ut)) { 102 if (n != sizeof(ut)) {
103 bb_perror_msg_and_die("short read"); 103 bb_simple_perror_msg_and_die("short read");
104 } 104 }
105 n = index_in_strings(_ut_lin, ut.ut_line); 105 n = index_in_strings(_ut_lin, ut.ut_line);
106 if (n == _TILDE) { /* '~' */ 106 if (n == _TILDE) { /* '~' */