summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/util.inc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-19 18:07:26 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-19 18:07:26 +0545
commit51a14c58a0f6728032a41626480f6f547e16f511 (patch)
treeeb327a625c5d647477236fe8f7622ea61a01b1f8 /src/etc/inc/util.inc
parenta20da2b6f9146c51615c20adb58484643644f72e (diff)
downloadpfsense-51a14c58a0f6728032a41626480f6f547e16f511.zip
pfsense-51a14c58a0f6728032a41626480f6f547e16f511.tar.gz
Internationalize etc inc uvx
Diffstat (limited to 'src/etc/inc/util.inc')
-rw-r--r--src/etc/inc/util.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc
index b3c3242..92149ff 100644
--- a/src/etc/inc/util.inc
+++ b/src/etc/inc/util.inc
@@ -277,7 +277,7 @@ function refcount_reference($reference) {
refcount_init($reference);
$shmid = @shmop_open($reference, "w", 0, 0);
if (!$shmid) {
- log_error(gettext("Could not open shared memory {$reference}"));
+ log_error(sprintf(gettext("Could not open shared memory %s"), $reference));
unlock($shm_lck);
return;
}
@@ -302,7 +302,7 @@ function refcount_unreference($reference) {
$shmid = @shmop_open($reference, "w", 0, 0);
if (!$shmid) {
refcount_init($reference);
- log_error(gettext("Could not open shared memory {$reference}"));
+ log_error(sprintf(gettext("Could not open shared memory %s"), $reference));
unlock($shm_lck);
return;
}
@@ -329,7 +329,7 @@ function refcount_read($reference) {
/* There is no need for locking. */
$shmid = @shmop_open($reference, "a", 0, 0);
if (!$shmid) {
- log_error(gettext("Could not open shared memory for read {$reference}"));
+ log_error(sprintf(gettext("Could not open shared memory for read %s"), $reference));
return -1;
}
$shm_data = @shmop_read($shmid, 0, 10);
OpenPOWER on IntegriCloud