From 14cf8d7ba8a917c9872d9952178d7c93f2e7b3c6 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Tue, 21 Sep 2021 20:43:41 +0000 Subject: Fix spelling --- src/faketime_common.h | 2 +- src/libfaketime.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/faketime_common.h b/src/faketime_common.h index 0ae5fd4..ab47d89 100644 --- a/src/faketime_common.h +++ b/src/faketime_common.h @@ -45,7 +45,7 @@ struct ft_shared_s * When advancing time linearly with each time(), etc. call, the calls are * counted here */ uint64_t ticks; - /* Index of timstamp to be loaded from file */ + /* Index of timestamp to be loaded from file */ uint64_t file_idx; /* System time Faketime started at */ struct system_time_s start_time; diff --git a/src/libfaketime.c b/src/libfaketime.c index 0dd037b..6fc2dfd 100644 --- a/src/libfaketime.c +++ b/src/libfaketime.c @@ -750,7 +750,7 @@ static bool load_time(struct timespec *tp) if ((sizeof(stss[0]) * (ft_shared->file_idx + 1)) > infile_size) { - /* we are out of timstamps to replay, return to faking time by rules + /* we are out of timestamps to replay, return to faking time by rules * using last timestamp from file as the user provided timestamp */ timespec_from_saved(&user_faked_time_timespec, &stss[(infile_size / sizeof(stss[0])) - 1 ]); @@ -2811,7 +2811,7 @@ static void ftpl_init(void) } } - /* load file only if reading timstamps from it is not finished yet */ + /* load file only if reading timestamps from it is not finished yet */ if ((tmp_env = getenv("FAKETIME_LOAD_FILE")) != NULL) { int infile = -1; -- cgit v1.2.1