Skip to content

Commit

Permalink
Fix compile on s390x after #647
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
  • Loading branch information
hexfusion committed Sep 1, 2021
1 parent 7862722 commit d732c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/verify/backupstorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func getPathAvailableSpaceBytes(path string) (int64, error) {
return 0, fmt.Errorf("filesystem status: %w", err)
}

available := int64(stat.Bavail) * stat.Bsize
available := int64(stat.Bavail) * int64(stat.Bsize)
if available == 0 {
return 0, fmt.Errorf("filesystem status: no available bytes")
}
Expand Down

0 comments on commit d732c3c

Please sign in to comment.