[PATCH] ksmbd-tools: update names in logger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Enzo Matsumiya <ematsumiya@xxxxxxx>
---
 addshare/addshare.c | 2 +-
 adduser/adduser.c   | 2 +-
 mountd/mountd.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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;
-- 
2.33.0




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux