diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-30 20:36:30 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-30 20:36:30 -0300 |
commit | 47f12397b3ec7f6fa860d21136a7deca9f6573e8 (patch) | |
tree | 2f63de6cc3229518d8704d641ab085d63bfd12da /etc/inc/util.inc | |
parent | 701a250b6ede4936d1dd677b8e1813a440e90c71 (diff) | |
download | pfsense-47f12397b3ec7f6fa860d21136a7deca9f6573e8.zip pfsense-47f12397b3ec7f6fa860d21136a7deca9f6573e8.tar.gz |
Fix gettext calls with printf to permit change strings order
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 77af86d..8a9db4f 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -785,7 +785,7 @@ function mwexec($command, $mute = false) { $mute = false; if(($retval <> 0) && ($mute === false)) { $output = implode(" ", $oarr); - log_error(sprintf(gettext("The command '%s' returned exit code '%d', the output was '%s' "), $command, $retval, $output)); + log_error(sprintf(gettext("The command '%1$s' returned exit code '%2$d', the output was '%3$s' "), $command, $retval, $output)); } return $retval; } |