diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-01 06:00:41 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-01 06:00:41 +0000 |
commit | 098281cb49d3119ea7b1f221fb6c74694b2692e7 (patch) | |
tree | e46134f447bb0153b935e769e20898911c29db75 /pkg/sentry/syscalls/linux/vfs2/setstat.go | |
parent | bbba7a4527f117b6e4a3fe64e816b3e9ef4a6300 (diff) | |
parent | 840980aeba0b5224b13bcaadf5785ac5305a5230 (diff) |
Merge release-20200323.0-45-g840980a (automated)
Diffstat (limited to 'pkg/sentry/syscalls/linux/vfs2/setstat.go')
-rwxr-xr-x | pkg/sentry/syscalls/linux/vfs2/setstat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/syscalls/linux/vfs2/setstat.go b/pkg/sentry/syscalls/linux/vfs2/setstat.go index 136453ccc..4e61f1452 100755 --- a/pkg/sentry/syscalls/linux/vfs2/setstat.go +++ b/pkg/sentry/syscalls/linux/vfs2/setstat.go @@ -226,7 +226,7 @@ func Utime(t *kernel.Task, args arch.SyscallArguments) (uintptr, *kernel.Syscall opts.Stat.Mtime.Nsec = linux.UTIME_NOW } else { var times linux.Utime - if err := times.CopyIn(t, timesAddr); err != nil { + if _, err := times.CopyIn(t, timesAddr); err != nil { return 0, nil, err } opts.Stat.Atime.Sec = times.Actime |