]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Clean up error message printing functions
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 08:36:35 +0000 (16:36 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commit14aa5e63ab989e4f85495e96a74f34d18813caf6
treef9ab236f25f8047216f1ca2754cb4d9e3f7df392
parentbc85302b02f8a1af351d05050f9de8a54c68ba09
ubifs-utils: Clean up error message printing functions

Functions 'err_msg' and 'sys_err_msg' are almost same with 'errmsg' and
'sys_errmsg', since 'errmsg' and 'sys_errmsg' can print programe name,
so replace error message printing functions (ubifs-utils) with common
lib functions(include/common.h).

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/common/crypto.c
ubifs-utils/common/defs.h
ubifs-utils/common/devtable.c
ubifs-utils/common/fscrypt.c
ubifs-utils/common/hashtable/hashtable.c
ubifs-utils/common/lpt.c
ubifs-utils/common/sign.c
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c