summaryrefslogtreecommitdiff
path: root/usr/src/lib/print/libpapi-common/common/attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/print/libpapi-common/common/attribute.c')
-rw-r--r--usr/src/lib/print/libpapi-common/common/attribute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/print/libpapi-common/common/attribute.c b/usr/src/lib/print/libpapi-common/common/attribute.c
index 244e54555d..76268c7591 100644
--- a/usr/src/lib/print/libpapi-common/common/attribute.c
+++ b/usr/src/lib/print/libpapi-common/common/attribute.c
@@ -20,6 +20,8 @@
*/
/*
+ * Copyright (c) 2014 Gary Mills
+ *
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
@@ -27,8 +29,6 @@
/* $Id: attribute.c 157 2006-04-26 15:07:55Z ktou $ */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*LINTLIBRARY*/
#include <stdio.h>
@@ -957,7 +957,7 @@ papiAttributeToString(papi_attribute_t *attribute, char *delim,
if (tm != NULL) {
char string[64];
- strftime(string, sizeof (string), "%C", tm);
+ strftime(string, sizeof (string), "%c", tm);
rc = strlcat(buffer, string, buflen);
}}
break;