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>
Fri, 10 Apr 2020 19:18:19 +0000 (15:18 -0400)
commitc16fb81a23dcfa6ab8331efe1c98a86e4444040d
tree2bcb384b0c896531e7b4cc116710b1f52cd08c2d
parentc7f21c12d5cec35f3e48630cf603207748409847
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>
src/plugins/text/dmesg/dmesg.c
This page took 0.024766 seconds and 4 git commands to generate.