Commit 334752dc authored by Fazlul Shahriar's avatar Fazlul Shahriar Committed by David du Colombier
Browse files

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: default avatarDavid du Colombier <0intro@gmail.com>
parent 1bb247a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment