Skip to content

Commit

Permalink
Merge pull request #468 from henrybear327/fix/typo
Browse files Browse the repository at this point in the history
Fix a typo and remove outdated comment
  • Loading branch information
jserv authored Jul 10, 2024
2 parents 2436ecb + 66dec82 commit 9f5c057
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/emulate.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ RV_EXCEPTION_LIST
return false; \
}

/* get current time in microsecnds and update csr_time register */
/* get current time in microseconds and update csr_time register */
static inline void update_time(riscv_t *rv)
{
struct timeval tv;
Expand Down
2 changes: 1 addition & 1 deletion src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void rv_clock_gettime(struct timespec *tp)
int32_t tv_sec, tv_nsec;
get_time_info(&tv_sec, &tv_nsec);
tp->tv_sec = tv_sec;
tp->tv_nsec = tv_nsec; /* Transfer to microseconds */
tp->tv_nsec = tv_nsec;
}

char *sanitize_path(const char *input)
Expand Down

0 comments on commit 9f5c057

Please # to comment.