mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Follow up to r277449 by fixing the remaining NSEC_TO_TICK macro to have the same
named parameters Reported by: Ben Perrault <ben.perrault@gmail.com>, Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
parent
b1d634e627
commit
9f02b3ec86
1 changed files with 1 additions and 1 deletions
|
|
@ -535,7 +535,7 @@ extern vnode_t *rootdir;
|
|||
extern void delay(clock_t ticks);
|
||||
|
||||
#define SEC_TO_TICK(sec) ((sec) * hz)
|
||||
#define NSEC_TO_TICK(usec) ((usec) / (NANOSEC / hz))
|
||||
#define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz))
|
||||
|
||||
#define gethrestime_sec() time(NULL)
|
||||
#define gethrestime(t) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue