From 64f1a93c003aa2a9286d7c006715026e77b33339 Mon Sep 17 00:00:00 2001 From: WAKAYAMA shirou Date: Wed, 31 Dec 2014 22:47:22 +0900 Subject: [PATCH] forget to add. --- host/host_freebsd_amd64.go | 26 +++++++++++++------------- host/host_test.go | 1 - 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/host/host_freebsd_amd64.go b/host/host_freebsd_amd64.go index 7706cbd..e37eaa4 100644 --- a/host/host_freebsd_amd64.go +++ b/host/host_freebsd_amd64.go @@ -6,23 +6,23 @@ package host const ( - sizeofPtr = 0x8 - sizeofShort = 0x2 - sizeofInt = 0x4 - sizeofLong = 0x8 - sizeofLongLong = 0x8 + sizeofPtr = 0x8 + sizeofShort = 0x2 + sizeofInt = 0x4 + sizeofLong = 0x8 + sizeofLongLong = 0x8 ) type ( - _C_short int16 - _C_int int32 - _C_long int64 - _C_long_long int64 + _C_short int16 + _C_int int32 + _C_long int64 + _C_long_long int64 ) type Utmp struct { - Line [8]int8 - Name [16]int8 - Host [16]int8 - Time int32 + Line [8]int8 + Name [16]int8 + Host [16]int8 + Time int32 } diff --git a/host/host_test.go b/host/host_test.go index 64ad747..4c6fbc9 100644 --- a/host/host_test.go +++ b/host/host_test.go @@ -33,7 +33,6 @@ func TestUsers(t *testing.T) { } empty := UserStat{} for _, u := range v { - fmt.Println(u) if u == empty { t.Errorf("Could not Users %v", v) }