summaryrefslogtreecommitdiff
path: root/src/tools/tools_util.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-05-17 13:54:29 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-05-22 09:11:13 -0400
commit95cc95749a5e783f2b5d2124d783f85820baf937 (patch)
treeab9407bb44c8019ac3d08a9bfcde9d6825de4b24 /src/tools/tools_util.h
parentbe174855d948ca8eeebe63be50e20b9daad58019 (diff)
downloadsssd-95cc95749a5e783f2b5d2124d783f85820baf937.tar.gz
sssd-95cc95749a5e783f2b5d2124d783f85820baf937.tar.bz2
sssd-95cc95749a5e783f2b5d2124d783f85820baf937.zip
Always use positional arguments in translatable strings
https://fedorahosted.org/sssd/ticket/1336
Diffstat (limited to 'src/tools/tools_util.h')
-rw-r--r--src/tools/tools_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h
index fccd9d96..fd26b890 100644
--- a/src/tools/tools_util.h
+++ b/src/tools/tools_util.h
@@ -37,7 +37,7 @@
val = getuid(); \
if (val != 0) { \
DEBUG(1, ("Running under %d, must be root\n", val)); \
- ERROR("%s must be run as root\n", prg_name); \
+ ERROR("%1$s must be run as root\n", prg_name); \
val = EXIT_FAILURE; \
goto fini; \
} \