summaryrefslogtreecommitdiff
path: root/usr/src/lib/print/libpapi-common/common/attribute.c
diff options
context:
space:
mode:
authorGary Mills <gary_mills@fastmail.fm>2014-01-03 12:54:12 -0600
committerDan McDonald <danmcd@omniti.com>2014-01-08 14:53:56 +0000
commitee169c7e77bc5d28a401dde8533cbd38afd24ae1 (patch)
treefc299688835244cb4016798b5de904449a039bce /usr/src/lib/print/libpapi-common/common/attribute.c
parent2063d9c01c4a721994a3cb528444d7f328135869 (diff)
downloadillumos-gate-ee169c7e77bc5d28a401dde8533cbd38afd24ae1.tar.gz
4378 Clean up %C in *time() functions
438 need documentation for strftime %s flag Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
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;