mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
[libstuff] Fix nsec().
This commit is contained in:
parent
6639d9d02f
commit
abefbf048d
@ -8,6 +8,6 @@ nsec(void) {
|
||||
struct timeval tv;
|
||||
|
||||
gettimeofday(&tv, nil);
|
||||
return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_sec * 1000;
|
||||
return (uvlong)tv.tv_sec * 1000000000 + (uvlong)tv.tv_usec * 1000;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user