diff --git a/SystemTools.cxx b/SystemTools.cxx
index 30993636f14b1c6b8882ef215f948aaba37ccada..778774c42700d73b42d013bcd89591dea2924ed4 100644
--- a/SystemTools.cxx
+++ b/SystemTools.cxx
@@ -3603,7 +3603,7 @@ kwsys_stl::string SystemTools::MakeCindentifier(const char* s)
   return str;
 }
 
-// Due to a buggy stream library on the HP and another on Mac OSX, we
+// Due to a buggy stream library on the HP and another on Mac OS X, we
 // need this very carefully written version of getline.  Returns true
 // if any data were read before the end-of-file was reached.
 bool SystemTools::GetLineFromStream(kwsys_ios::istream& is,
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in
index 4fcd4cbb86463320eb98b323536e84ef678e60e9..b5b6b52aed4713de66554d4639963065aa2d1a2f 100644
--- a/SystemTools.hxx.in
+++ b/SystemTools.hxx.in
@@ -427,7 +427,7 @@ public:
   
   /**
    * Read line from file. Make sure to get everything. Due to a buggy stream
-   * library on the HP and another on Mac OSX, we need this very carefully
+   * library on the HP and another on Mac OS X, we need this very carefully
    * written version of getline. Returns true if any data were read before the
    * end-of-file was reached. If the has_newline argument is specified, it will
    * be true when the line read had a newline character.