From: Jens Axboe Date: Thu, 13 Feb 2014 04:25:20 +0000 (-0700) Subject: null: style fixup X-Git-Tag: fio-2.1.6~43 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=8d6ecac27d36b3001c8fed00eab7f32cd573636a;ds=sidebyside null: style fixup Signed-off-by: Jens Axboe --- 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;