summaryrefslogtreecommitdiff
path: root/rrdformat/sniff.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2020-02-03 00:30:31 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2020-02-03 00:30:31 -0500
commitdff188a6157c10ab6745b1a389c925794d6ca1ba (patch)
treef498118587f6db75dd19c6657407714711cbe250 /rrdformat/sniff.go
parent8c121d944aafa0b682030156f6c5dd743dfab607 (diff)
fix
Diffstat (limited to 'rrdformat/sniff.go')
-rw-r--r--rrdformat/sniff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrdformat/sniff.go b/rrdformat/sniff.go
index a6a8c6d..099655f 100644
--- a/rrdformat/sniff.go
+++ b/rrdformat/sniff.go
@@ -136,7 +136,7 @@ func SniffArchitecture(data []byte) (rrdbinary.Architecture, error) {
// For now, just assume it's sizeof(long)/2, which is true on
// i686, x86_64, and arm. (It is not true on alpha or ia64.)
arch.ShortWidth = arch.LongWidth / 2
- arch.Shortalign = arch.LongAlign / 2
+ arch.ShortAlign = arch.LongAlign / 2
return arch, nil
}