summaryrefslogtreecommitdiffstats
path: root/src/tools/sss_userdel.c
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/sss_userdel.c
parentbe174855d948ca8eeebe63be50e20b9daad58019 (diff)
downloadsssd-95cc95749a5e783f2b5d2124d783f85820baf937.tar.gz
sssd-95cc95749a5e783f2b5d2124d783f85820baf937.tar.xz
sssd-95cc95749a5e783f2b5d2124d783f85820baf937.zip
Always use positional arguments in translatable strings
https://fedorahosted.org/sssd/ticket/1336
Diffstat (limited to 'src/tools/sss_userdel.c')
-rw-r--r--src/tools/sss_userdel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/sss_userdel.c b/src/tools/sss_userdel.c
index 6d5e82958..0d1c63e4c 100644
--- a/src/tools/sss_userdel.c
+++ b/src/tools/sss_userdel.c
@@ -227,7 +227,7 @@ int main(int argc, const char **argv)
if ((tctx->octx->uid < tctx->local->id_min) ||
(tctx->local->id_max && tctx->octx->uid > tctx->local->id_max)) {
- ERROR("User %s is outside the defined ID range for domain\n",
+ ERROR("User %1$s is outside the defined ID range for domain\n",
tctx->octx->name);
ret = EXIT_FAILURE;
goto fini;
@@ -264,7 +264,7 @@ int main(int argc, const char **argv)
break;
case EOK:
- ERROR("WARNING: The user (uid %lu) was still logged in when "
+ ERROR("WARNING: The user (uid %1$lu) was still logged in when "
"deleted.\n", (unsigned long) tctx->octx->uid);
break;
@@ -281,7 +281,7 @@ int main(int argc, const char **argv)
ret = run_userdel_cmd(tctx);
if (ret != EOK) {
- ERROR("The post-delete command failed: %s\n", strerror(ret));
+ ERROR("The post-delete command failed: %1$s\n", strerror(ret));
goto fini;
}
@@ -295,7 +295,7 @@ int main(int argc, const char **argv)
if (ret == EPERM) {
ERROR("Not removing home dir - not owned by user\n");
} else if (ret != EOK) {
- ERROR("Cannot remove homedir: %s\n", strerror(ret));
+ ERROR("Cannot remove homedir: %1$s\n", strerror(ret));
ret = EXIT_FAILURE;
goto fini;
}