about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
authorIvan Kozik <ivan@ludios.org>2013-08-10T21·36+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-08-26T09·15+0200
commit34bb806f747d5edc16119e38e2ac44e6b236ac12 (patch)
treebee9d463cd53277998bc20b7b37e78745461ce25 /src/libutil
parentc6c024ca6f587dab991589ad6fdf010b9f0e6d62 (diff)
Fix typos, especially those that end up in the Nix manual
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/serialise.hh2
-rw-r--r--src/libutil/util.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh
index e1c4514dbb4b..e5a9df1d050a 100644
--- a/src/libutil/serialise.hh
+++ b/src/libutil/serialise.hh
@@ -61,7 +61,7 @@ struct BufferedSource : Source
     
     size_t read(unsigned char * data, size_t len);
     
-    /* Underlying read call, to be overriden. */
+    /* Underlying read call, to be overridden. */
     virtual size_t readUnbuffered(unsigned char * data, size_t len) = 0;
 
     bool hasData();
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index 5a88a158c389..8fd61826fa28 100644
--- a/src/libutil/util.cc
+++ b/src/libutil/util.cc
@@ -629,8 +629,8 @@ AutoCloseFD::AutoCloseFD(int fd)
 
 AutoCloseFD::AutoCloseFD(const AutoCloseFD & fd)
 {
-    /* Copying a AutoCloseFD isn't allowed (who should get to close
-       it?).  But as a edge case, allow copying of closed
+    /* Copying an AutoCloseFD isn't allowed (who should get to close
+       it?).  But as an edge case, allow copying of closed
        AutoCloseFDs.  This is necessary due to tiresome reasons
        involving copy constructor use on default object values in STL
        containers (like when you do `map[value]' where value isn't in