From b5234413611ce5984292f85a01de1f56c045b490 Mon Sep 17 00:00:00 2001 From: obscuren Date: Mon, 16 Mar 2015 11:27:38 +0100 Subject: Moved ethutil => common --- logger/log.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logger/log.go') diff --git a/logger/log.go b/logger/log.go index baa3dfaf2..2dbec86de 100644 --- a/logger/log.go +++ b/logger/log.go @@ -6,11 +6,11 @@ import ( "log" "os" - "github.com/ethereum/go-ethereum/ethutil" + "github.com/ethereum/go-ethereum/common" ) func openLogFile(datadir string, filename string) *os.File { - path := ethutil.AbsolutePath(datadir, filename) + path := common.AbsolutePath(datadir, filename) file, err := os.OpenFile(path, os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666) if err != nil { panic(fmt.Sprintf("error opening log file '%s': %v", filename, err)) -- cgit v1.2.3