format 'not supported on this platform' error message
Format it in a similar way in all places, to make translation happier. No functional changes.
This commit is contained in:
parent
54cb6b1aec
commit
218adee785
3 changed files with 3 additions and 4 deletions
|
@ -314,7 +314,7 @@ bool setup_myself(void)
|
||||||
|
|
||||||
#if !defined(SOL_IP) || !defined(IP_TOS)
|
#if !defined(SOL_IP) || !defined(IP_TOS)
|
||||||
if(priorityinheritance)
|
if(priorityinheritance)
|
||||||
logger(LOG_WARNING, _("PriorityInheritance not supported on this platform"));
|
logger(LOG_WARNING, _("%s not supported on this platform"), "PriorityInheritance");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(!get_config_int(lookup_config(config_tree, "MACExpire"), &macexpire))
|
if(!get_config_int(lookup_config(config_tree, "MACExpire"), &macexpire))
|
||||||
|
|
|
@ -123,7 +123,7 @@ int setup_listen_socket(const sockaddr_t *sa)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
logger(LOG_WARNING, _("BindToInterface not supported on this platform"));
|
logger(LOG_WARNING, _("%s not supported on this platform"), "BindToInterface");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -161,8 +161,7 @@ static bool parse_options(int argc, char **argv)
|
||||||
|
|
||||||
case 'L': /* no detach */
|
case 'L': /* no detach */
|
||||||
#ifndef HAVE_MLOCKALL
|
#ifndef HAVE_MLOCKALL
|
||||||
/* logger(LOG_ERR, _("%s not supported on this platform"), "mlockall()"); */
|
logger(LOG_ERR, _("%s not supported on this platform"), "mlockall()");
|
||||||
logger(LOG_ERR, _("mlockall() not supported on this platform!"));
|
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
do_mlock = true;
|
do_mlock = true;
|
||||||
|
|
Loading…
Reference in a new issue