diff options
| author | Vineeth Pillai <vineeth@nexenta.com> | 2010-09-10 23:15:19 +0530 |
|---|---|---|
| committer | Vineeth Pillai <vineeth@nexenta.com> | 2010-09-10 23:15:19 +0530 |
| commit | dc86508e0cf00a9f553cad05c9168a9ff8072dc6 (patch) | |
| tree | 947bd5a85136cbc0998d68adfc2595d5f6acc139 /usr/src/cmd/svc | |
| parent | 04a6f8c58c26d076f7f02ff5dd23f3532e252101 (diff) | |
| download | illumos-joyent-dc86508e0cf00a9f553cad05c9168a9ff8072dc6.tar.gz | |
168 svcs should function even if locale is missing
Reviewed by: garrett@nexenta.com
Approved by: garrett@nexenta.com
Diffstat (limited to 'usr/src/cmd/svc')
| -rw-r--r-- | usr/src/cmd/svc/svcs/svcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/svc/svcs/svcs.c b/usr/src/cmd/svc/svcs/svcs.c index e438e8aa4d..3ad142ef53 100644 --- a/usr/src/cmd/svc/svcs/svcs.c +++ b/usr/src/cmd/svc/svcs/svcs.c @@ -3327,7 +3327,7 @@ main(int argc, char **argv) (void) setlocale(LC_ALL, ""); - locale = setlocale(LC_MESSAGES, ""); + locale = setlocale(LC_MESSAGES, NULL); if (locale) { locale = safe_strdup(locale); _scf_sanitize_locale(locale); |
