From c87303da4a41b0f99474a8f54a2dc359ec14e05f Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 15 Oct 2012 20:24:26 +0200 Subject: [PATCH] fix typos Change-Id: I3bca3709ba759894ce77bab412f5082718ea25c5 --- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx index 55ee269b6cfb..463159cc3955 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx @@ -187,13 +187,13 @@ bool SunVersion::init(const char *szVersion) #if defined(FREEBSD) if (m_preRelease == Rel_FreeBSD) { - pCur++; //elemnate `p' + pCur++; //eliminate 'p' if (pCur < pEnd && isdigit(*pCur)) pCur ++; - int len = pCur - pLast -1; //elemenate `p' + int len = pCur - pLast -1; //eliminate 'p' if (len >= 127) return false; - strncpy(buf, (pLast+1), len); //elemenate `p' + strncpy(buf, (pLast+1), len); //eliminate 'p' buf[len] = 0; m_nUpdateSpecial = atoi(buf)+100; //hack for FBSD #i56953# return true;