Fix: src.text.dmesg: add missing assignment of `status` on error path
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 9 Apr 2020 18:27:39 +0000 (14:27 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 11 Apr 2020 14:04:09 +0000 (10:04 -0400)
commit33f24144e8e35a09395866c2f02dc085d125f355
tree52ade72ba1a9b0627d2beca1ddbe7b4097c76ff3
parent5e6ea7a66704b78180520cb8f1fccaed5d9ea7b1
Fix: src.text.dmesg: add missing assignment of `status` on error path

The error path under `if (!*msg)`, originally at line 789, is missing
assigning an error status to the `status` variable, fix it.

Change-Id: I2b47c6ce7c6099a6db68c4da108d7c0886c7177e
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3384
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
(cherry picked from commit c16fb81a23dcfa6ab8331efe1c98a86e4444040d)
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3361
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/text/dmesg/dmesg.c
This page took 0.024911 seconds and 4 git commands to generate.