From cceef9d2cfbf72a7ae4feac2e53e46179c33155d Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Tue, 9 Jul 2019 16:16:46 -0700 Subject: Cleanup straggling syscall dependencies. PiperOrigin-RevId: 257293198 --- pkg/syserror/syserror.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/syserror/syserror.go') diff --git a/pkg/syserror/syserror.go b/pkg/syserror/syserror.go index 345653544..1987e89cc 100644 --- a/pkg/syserror/syserror.go +++ b/pkg/syserror/syserror.go @@ -48,6 +48,7 @@ var ( EMSGSIZE = error(syscall.EMSGSIZE) ENAMETOOLONG = error(syscall.ENAMETOOLONG) ENOATTR = ENODATA + ENOBUFS = error(syscall.ENOBUFS) ENODATA = error(syscall.ENODATA) ENODEV = error(syscall.ENODEV) ENOENT = error(syscall.ENOENT) @@ -59,6 +60,7 @@ var ( ENOSYS = error(syscall.ENOSYS) ENOTDIR = error(syscall.ENOTDIR) ENOTEMPTY = error(syscall.ENOTEMPTY) + ENOTSOCK = error(syscall.ENOTSOCK) ENOTSUP = error(syscall.ENOTSUP) ENOTTY = error(syscall.ENOTTY) ENXIO = error(syscall.ENXIO) -- cgit v1.2.3