On Sat, 2020-08-29 at 11:03 +0800, Zhiqiang Liu wrote: > We adopt static char* array (demon_status_msg) in daemon_status func, > so it looks more simpler and easier to expand. > > V2->V3: > - add default case in sd_notify_status to fix compile error > V1->V2: > - use "int" as the type of "status" (suggested by Martin) > > Signed-off-by: Zhiqiang Liu <[email protected]> > Signed-off-by: lixiaokeng <[email protected]> > --- > multipathd/main.c | 32 +++++++++++++++++--------------- > multipathd/main.h | 3 ++- > 2 files changed, 19 insertions(+), 16 deletions(-) >
Reviewed-by: Martin Wilck <[email protected]> -- dm-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/dm-devel
