Merge
authorcoleenp
Thu, 04 Feb 2016 23:39:27 +0000
changeset 35938 a734965f7634
parent 35937 ee146fa2923b (current diff)
parent 35936 e401b754ae09 (diff)
child 35939 05df7e64ecfc
Merge
--- a/hotspot/src/share/vm/utilities/ostream.cpp	Thu Feb 04 18:25:02 2016 -0500
+++ b/hotspot/src/share/vm/utilities/ostream.cpp	Thu Feb 04 23:39:27 2016 +0000
@@ -380,7 +380,7 @@
 char* get_datetime_string(char *buf, size_t len) {
   os::local_time_string(buf, len);
   int i = (int)strlen(buf);
-  while (i-- >= 0) {
+  while (--i >= 0) {
     if (buf[i] == ' ') buf[i] = '_';
     else if (buf[i] == ':') buf[i] = '-';
   }