fix typos in pkg

Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
allencloud 2016-04-09 21:18:15 +08:00
parent 3f3ba02798
commit b8047bf930
10 changed files with 12 additions and 12 deletions

View file

@ -36,7 +36,7 @@ const (
var sysinfo systeminfo
// runtimeArchitecture get the name of the current architecture (x86, x86_64, …)
// runtimeArchitecture gets the name of the current architecture (x86, x86_64, …)
func runtimeArchitecture() (string, error) {
syscall.Syscall(procGetSystemInfo.Addr(), 1, uintptr(unsafe.Pointer(&sysinfo)), 0, 0)
switch sysinfo.wProcessorArchitecture {