diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-15 10:54:09 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-17 07:23:24 -0400 |
commit | ad4e495fa434f72de37846704cb08bacac3c52da (patch) | |
tree | e2327aca6935c1e3bc726b880a70a4e666bab667 /server/tools/sss_useradd.c | |
parent | 7d2f248b39aa78eaa7708ce64ad146d5a8bb934c (diff) | |
download | sssd2-ad4e495fa434f72de37846704cb08bacac3c52da.tar.gz sssd2-ad4e495fa434f72de37846704cb08bacac3c52da.tar.xz sssd2-ad4e495fa434f72de37846704cb08bacac3c52da.zip |
Create gettext framework for SSSD daemon
Diffstat (limited to 'server/tools/sss_useradd.c')
-rw-r--r-- | server/tools/sss_useradd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/tools/sss_useradd.c b/server/tools/sss_useradd.c index a01cd7f8..84f38fa6 100644 --- a/server/tools/sss_useradd.c +++ b/server/tools/sss_useradd.c @@ -31,6 +31,7 @@ #include "util/util.h" #include "db/sysdb.h" #include "tools/tools_util.h" +#include "util/sssd-i18n.h" /* Define default command strings if not redefined by user */ #ifndef USERADD @@ -335,9 +336,9 @@ int main(int argc, const char **argv) debug_prg_name = argv[0]; - ret = setup_db(&ctx); + ret = init_sss_tools(&ctx); if (ret != EOK) { - DEBUG(0, ("Could not set up database\n")); + DEBUG(0, ("Could not set up tools\n")); ret = EXIT_FAILURE; goto fini; } @@ -480,7 +481,7 @@ int main(int argc, const char **argv) ret = user_ctx->error; switch (ret) { case EEXIST: - DEBUG(0, ("The user %s already exists\n", user_ctx->username)); + DEBUG(0, (_("The user %s already exists\n"), user_ctx->username)); break; default: |