6959096 kprop_script & /usr/lib/krb5/kprop commands can fail if envvar LANG not english
authorPeter Shoults <Peter.Shoults@Sun.COM>
Tue, 15 Jun 2010 13:48:52 -0400
changeset 12624 a1fa1ee4d57c
parent 12623 1249c549d0f6
child 12625 918cc39de2dd
6959096 kprop_script & /usr/lib/krb5/kprop commands can fail if envvar LANG not english
usr/src/cmd/krb5/slave/kprop.c
--- 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) {