summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/timestruct.go
diff options
context:
space:
mode:
authorNicolas Paul <n@nc0.fr>2023-04-07 01:18:07 +0200
committerNicolas Paul <nicolaspaul45400@gmail.com>2023-04-07 01:18:36 +0200
commit96c174f226767294186467715a1931cce850678d (patch)
tree553b3a2457387667743ecc7df61b83abd7d3d46e /vendor/golang.org/x/sys/unix/timestruct.go
parent2e4db08bc6360a13e167ad9eca7f21dc8a2f89a9 (diff)
update deps
Diffstat (limited to 'vendor/golang.org/x/sys/unix/timestruct.go')
-rw-r--r--vendor/golang.org/x/sys/unix/timestruct.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/timestruct.go b/vendor/golang.org/x/sys/unix/timestruct.go
index 3d89304..616b1b2 100644
--- a/vendor/golang.org/x/sys/unix/timestruct.go
+++ b/vendor/golang.org/x/sys/unix/timestruct.go
@@ -9,7 +9,7 @@ package unix
import "time"
-// TimespecToNSec returns the time stored in ts as nanoseconds.
+// TimespecToNsec returns the time stored in ts as nanoseconds.
func TimespecToNsec(ts Timespec) int64 { return ts.Nano() }
// NsecToTimespec converts a number of nanoseconds into a Timespec.