Mercurial > illumos > illumos-gate
changeset 12624:a1fa1ee4d57c
6959096 kprop_script & /usr/lib/krb5/kprop commands can fail if envvar LANG not english
author | Peter Shoults <Peter.Shoults@Sun.COM> |
---|---|
date | Tue, 15 Jun 2010 13:48:52 -0400 |
parents | 1249c549d0f6 |
children | 918cc39de2dd |
files | usr/src/cmd/krb5/slave/kprop.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/krb5/slave/kprop.c Tue Jun 15 10:17:55 2010 +0200 +++ b/usr/src/cmd/krb5/slave/kprop.c Tue Jun 15 13:48:52 2010 -0400 @@ -1,10 +1,7 @@ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * slave/kprop.c * @@ -275,7 +272,7 @@ * Initialize cache file which we're going to be using */ (void) mktemp(tkstring); - snprintf(buf, sizeof (buf), gettext("FILE:%s"), tkstring); + snprintf(buf, sizeof (buf), "FILE:%s", tkstring); retval = krb5_cc_resolve(context, buf, &ccache); if (retval) {