mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-20 15:43:16 +00:00
Remove extraneous trailing \0 in string literal.
MFC after: 2 weeks
This commit is contained in:
parent
79ad81c06d
commit
bc1f62de8d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161231
@ -2026,8 +2026,7 @@ monitor_lock_host(const char *hostname)
|
||||
bzero(&smon,sizeof(smon));
|
||||
|
||||
smon.mon_id.mon_name = nhp->name;
|
||||
smon.mon_id.my_id.my_name = "localhost\0";
|
||||
|
||||
smon.mon_id.my_id.my_name = "localhost";
|
||||
smon.mon_id.my_id.my_prog = NLM_PROG;
|
||||
smon.mon_id.my_id.my_vers = NLM_SM;
|
||||
smon.mon_id.my_id.my_proc = NLM_SM_NOTIFY;
|
||||
|
Loading…
Reference in New Issue
Block a user