summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/xref.sh
diff options
context:
space:
mode:
authormeem <Peter.Memishian@Sun.COM>2009-04-17 21:44:19 -0400
committermeem <Peter.Memishian@Sun.COM>2009-04-17 21:44:19 -0400
commit06519974150162adc2eac151382bd7bd487b09c3 (patch)
tree1ab989066a4cfdd22521d77a6bf118d595a6723c /usr/src/tools/scripts/xref.sh
parent6eb30ec3b9418789da0a22b0987f64f325c69491 (diff)
downloadillumos-joyent-06519974150162adc2eac151382bd7bd487b09c3.tar.gz
6830764 xref time reports are malformed on ksh93
Diffstat (limited to 'usr/src/tools/scripts/xref.sh')
-rw-r--r--usr/src/tools/scripts/xref.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/tools/scripts/xref.sh b/usr/src/tools/scripts/xref.sh
index 20ec192315..78c85bae81 100644
--- a/usr/src/tools/scripts/xref.sh
+++ b/usr/src/tools/scripts/xref.sh
@@ -20,11 +20,9 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# xref: build and maintain source cross-reference databases.
#
@@ -80,7 +78,7 @@ info()
timeinfo()
{
typeset -Z2 sec
- typeset min seconds
+ typeset -i min seconds
((seconds = SECONDS))
((min = seconds / 60))