diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-07-23 10:21:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-23 10:21:41 +0200 |
commit | 26749204d5fcd333706bef187b75cd3c6b39b835 (patch) | |
tree | 1fe72a798eef9d803e7714ea877304f1568171bd /pkg/util/utils_linux.go | |
parent | a12a2312ac5c6c485eaa1d45e4b7e29d6cc4a9ff (diff) | |
parent | 0c3038d4b5479e475217f2990107f376024d5726 (diff) | |
download | podman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.gz podman-26749204d5fcd333706bef187b75cd3c6b39b835.tar.bz2 podman-26749204d5fcd333706bef187b75cd3c6b39b835.zip |
Merge pull request #3621 from baude/golangcilint4
golangci-lint phase 4
Diffstat (limited to 'pkg/util/utils_linux.go')
-rw-r--r-- | pkg/util/utils_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/util/utils_linux.go b/pkg/util/utils_linux.go index 318bd2b1b..288137ca5 100644 --- a/pkg/util/utils_linux.go +++ b/pkg/util/utils_linux.go @@ -39,8 +39,8 @@ func FindDeviceNodes() (map[string]string, error) { if !ok { return errors.Errorf("Could not convert stat output for use") } - major := uint64(sysstat.Rdev / 256) - minor := uint64(sysstat.Rdev % 256) + major := sysstat.Rdev / 256 + minor := sysstat.Rdev % 256 nodes[fmt.Sprintf("%d:%d", major, minor)] = path |