Skip to content

Commit

Permalink
unix: add CAN error constants
Browse files Browse the repository at this point in the history
Fixes golang/go#41067

Change-Id: I110ed054074c9173911ce36009087bf1d0dc9499
GitHub-Last-Rev: 2309ec0
GitHub-Pull-Request: #82
Reviewed-on: https://go-review.googlesource.com/c/sys/+/251037
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
  • Loading branch information
skladd authored and tklauser committed Aug 28, 2020
1 parent 6fcdbc0 commit 131dc92
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions unix/mkerrors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ struct ltchars {
#include <sys/xattr.h>
#include <linux/bpf.h>
#include <linux/can.h>
#include <linux/can/error.h>
#include <linux/capability.h>
#include <linux/cryptouser.h>
#include <linux/devlink.h>
Expand Down
58 changes: 58 additions & 0 deletions unix/zerrors_linux.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 131dc92

Please sign in to comment.