diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-10-15 20:24:26 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-10-15 20:25:31 +0200 |
commit | c87303da4a41b0f99474a8f54a2dc359ec14e05f (patch) | |
tree | d5b1f721f745ef2c478852f558e12fbc3bec68ea /jvmfwk/plugins | |
parent | 5b47653cc871da19a68f9bdedf0c99cff65e739e (diff) |
fix typos
Change-Id: I3bca3709ba759894ce77bab412f5082718ea25c5
Diffstat (limited to 'jvmfwk/plugins')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 6 |
1 files 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; |