Commit 2bf99c70 authored by Michael Hennerich's avatar Michael Hennerich Committed by Greg Kroah-Hartman

IIO: Documentation: iio_utils: style consistency fix

No functional changes
Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cb771cbd
...@@ -374,7 +374,7 @@ inline int build_channel_array(const char *device_dir, ...@@ -374,7 +374,7 @@ inline int build_channel_array(const char *device_dir,
} }
} }
/* reorder so that the array is in index order*/ /* reorder so that the array is in index order*/
current = malloc(sizeof(**ci_array)**counter); current = malloc(sizeof(**ci_array)*(*counter));
if (current == NULL) { if (current == NULL) {
ret = -ENOMEM; ret = -ENOMEM;
goto error_cleanup_array; goto error_cleanup_array;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment