From a447894946ca2ac47bf1c46f78c4839c75fd740d Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Wed, 3 Sep 2014 13:12:10 -0400 Subject: [PATCH] fix typos in error messages Signed-off-by: Ward Vandewege (github: cure) --- daemon/graphdriver/devmapper/attach_loopback.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/graphdriver/devmapper/attach_loopback.go b/daemon/graphdriver/devmapper/attach_loopback.go index 86714d1959..9cfa18a4d3 100644 --- a/daemon/graphdriver/devmapper/attach_loopback.go +++ b/daemon/graphdriver/devmapper/attach_loopback.go @@ -52,7 +52,7 @@ func openNextAvailableLoopback(index int, sparseFile *os.File) (loopFile *os.Fil // OpenFile adds O_CLOEXEC loopFile, err = os.OpenFile(target, os.O_RDWR, 0644) if err != nil { - log.Errorf("Error openning loopback device: %s", err) + log.Errorf("Error opening loopback device: %s", err) return nil, ErrAttachLoopbackDevice } @@ -97,7 +97,7 @@ func attachLoopDevice(sparseName string) (loop *os.File, err error) { // OpenFile adds O_CLOEXEC sparseFile, err := os.OpenFile(sparseName, os.O_RDWR, 0644) if err != nil { - log.Errorf("Error openning sparse file %s: %s", sparseName, err) + log.Errorf("Error opening sparse file %s: %s", sparseName, err) return nil, ErrAttachLoopbackDevice } defer sparseFile.Close()