diff mbox series

ksmbd-tools: update names in logger

Message ID 20211006161431.4638-1-ematsumiya@suse.de (mailing list archive)
State New, archived
Headers show
Series ksmbd-tools: update names in logger | expand

Commit Message

Enzo Matsumiya Oct. 6, 2021, 4:14 p.m. UTC
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
---
 addshare/addshare.c | 2 +-
 adduser/adduser.c   | 2 +-
 mountd/mountd.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Namjae Jeon Oct. 8, 2021, 1:59 a.m. UTC | #1
2021-10-07 1:14 GMT+09:00, Enzo Matsumiya <ematsumiya@suse.de>:
> Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Applied, Thanks for your patch:)
diff mbox series

Patch

diff --git a/addshare/addshare.c b/addshare/addshare.c
index 5d54f55e7e8e..7458b6c0be17 100644
--- a/addshare/addshare.c
+++ b/addshare/addshare.c
@@ -103,7 +103,7 @@  int main(int argc, char *argv[])
 	char *smbconf = PATH_SMBCONF;
 	int c, cmd = 0;
 
-	set_logger_app_name("smbshareadd");
+	set_logger_app_name("ksmbd.addshare");
 
 	opterr = 0;
 	while ((c = getopt(argc, argv, "c:a:d:u:p:o:Vvh")) != EOF)
diff --git a/adduser/adduser.c b/adduser/adduser.c
index 54774d3d6e15..5ffb29635c12 100644
--- a/adduser/adduser.c
+++ b/adduser/adduser.c
@@ -100,7 +100,7 @@  int main(int argc, char *argv[])
 	char *pwddb = PATH_PWDDB;
 	int c, cmd = 0;
 
-	set_logger_app_name("smbuseradd");
+	set_logger_app_name("ksmbd.adduser");
 
 	opterr = 0;
 	while ((c = getopt(argc, argv, "c:i:a:d:u:p:Vvh")) != EOF)
diff --git a/mountd/mountd.c b/mountd/mountd.c
index 71a4d985d5a9..a3a683222a92 100644
--- a/mountd/mountd.c
+++ b/mountd/mountd.c
@@ -560,7 +560,7 @@  int main(int argc, char *argv[])
 	int systemd_service = 0;
 	int c;
 
-	set_logger_app_name("ksmbd-manager");
+	set_logger_app_name("ksmbd.mountd");
 	memset(&global_conf, 0x00, sizeof(struct smbconf_global));
 	global_conf.pwddb = PATH_PWDDB;
 	global_conf.smbconf = PATH_SMBCONF;