From 5074481957a032f1aa59126909eaaa2e5472cd36 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Fri, 14 Sep 2018 14:34:33 -0700 Subject: [PATCH] fmt: fix formatting Signed-off-by: Noah Watkins --- rados/ioctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rados/ioctx.go b/rados/ioctx.go index d487070..10175fc 100644 --- a/rados/ioctx.go +++ b/rados/ioctx.go @@ -101,7 +101,7 @@ func (ioctx *IOContext) Write(oid string, data []byte, offset uint64) error { dataPointer := unsafe.Pointer(nil) if len(data) > 0 { - dataPointer = unsafe.Pointer(&data[0]) + dataPointer = unsafe.Pointer(&data[0]) } ret := C.rados_write(ioctx.ioctx, c_oid,