mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
cleanup: explicitely ignore result code
ATM too long prefix is silently ignored.
This commit is contained in:
parent
805bf6ec74
commit
e643de6e61
@ -376,7 +376,8 @@ void fin_syslog(void)
|
||||
void init_msg_prefix(const char *prefix)
|
||||
{
|
||||
if (prefix)
|
||||
dm_strncpy(_msg_prefix, prefix, sizeof(_msg_prefix));
|
||||
/* Cut away too long prefix */
|
||||
(void) dm_strncpy(_msg_prefix, prefix, sizeof(_msg_prefix));
|
||||
}
|
||||
|
||||
void init_indent(int indent)
|
||||
|
Loading…
Reference in New Issue
Block a user