diff options
author | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-21 20:43:41 +0000 |
---|---|---|
committer | a1346054 <36859588+a1346054@users.noreply.github.com> | 2021-09-21 20:46:28 +0000 |
commit | 14cf8d7ba8a917c9872d9952178d7c93f2e7b3c6 (patch) | |
tree | 08c99672f8a6d81a1a74be774f3edcaaa0cf47a7 | |
parent | f4ae29fb9178ea39720adda315d94acc80bc5b3e (diff) | |
download | libfaketime-14cf8d7ba8a917c9872d9952178d7c93f2e7b3c6.tar.gz |
Fix spelling
-rw-r--r-- | src/faketime_common.h | 2 | ||||
-rw-r--r-- | 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; |