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 <liuzhiqiang26@xxxxxxxxxx> > Signed-off-by: lixiaokeng <lixiaokeng@xxxxxxxxxx> > --- > multipathd/main.c | 32 +++++++++++++++++--------------- > multipathd/main.h | 3 ++- > 2 files changed, 19 insertions(+), 16 deletions(-) > Reviewed-by: Martin Wilck <mwilck@xxxxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel