os: return *PathError error in File.Sync on Plan 9
File.Sync was returning *SyscallError instead of *PathError on Plan 9. Adjust the error type to match other systems. Fixes #39800 Change-Id: I844e716eb61c193ef78d29cb0b4a3ef790bb3320 Reviewed-on: https://go-review.googlesource.com/c/go/+/239857 Reviewed-by:David du Colombier <0intro@gmail.com>
Loading
Please sign in to comment