From b3197b61e998e29e616b53c2b916bab815351f4d Mon Sep 17 00:00:00 2001 From: Sangbum Kim Date: Tue, 5 Sep 2017 22:36:18 +0900 Subject: [PATCH] fix wrong coding --- PKGBUILD | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 4f74202..e66d359 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: surefire@cryptomile.net pkgname=cpu_ctrl -pkgver=0+be2e961+ +pkgver=0+1f41c24+ pkgrel=1 pkgdesc="ipmi cpu fan control with core sensor" arch=('i686' 'x86_64') diff --git a/main.go b/main.go index a4dae11..11b50db 100644 --- a/main.go +++ b/main.go @@ -202,7 +202,7 @@ func main() { return case err:= <-errorChan: canceled() - fmt.Printf("error! %s", error.Error()) + fmt.Printf("error! %s", err.Error()) case sysSignal := <-exitSignal: canceled() fmt.Printf("SYSCALL! %s", sysSignal.String())