From 8d6ecac27d36b3001c8fed00eab7f32cd573636a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 12 Feb 2014 21:25:20 -0700 Subject: [PATCH] null: style fixup Signed-off-by: Jens Axboe --- engines/null.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/null.c b/engines/null.c index 9f9d8500..eb17b113 100644 --- a/engines/null.c +++ b/engines/null.c @@ -136,8 +136,10 @@ static void fio_exit fio_null_unregister(void) #ifdef FIO_EXTERNAL_ENGINE extern "C" { -void get_ioengine(struct ioengine_ops **ioengine_ptr) { +void get_ioengine(struct ioengine_ops **ioengine_ptr) +{ struct ioengine_ops *ioengine; + *ioengine_ptr = (struct ioengine_ops *) malloc(sizeof(struct ioengine_ops)); ioengine = *ioengine_ptr; -- 2.25.1