diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-02-04 12:55:51 +0100 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-02-11 13:15:37 -0500 |
commit | 9d0b53f86371a459615e9872a5b835b917a568ae (patch) | |
tree | f3dbfadb45a456f8a600c5ae13f176b29936095c /shm | |
parent | bc82ad8e237e0d57ecccbfc3d8175e041aeeab50 (diff) | |
download | dconf-9d0b53f86371a459615e9872a5b835b917a568ae.tar.gz |
docs/comments: make some corrections/updates
Many fixes for typos but also some adjustments for the recent
refactoring (particularly updating HACKING).
Diffstat (limited to 'shm')
-rw-r--r-- | shm/dconf-shm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shm/dconf-shm.c b/shm/dconf-shm.c index d291305..57890c6 100644 --- a/shm/dconf-shm.c +++ b/shm/dconf-shm.c @@ -71,7 +71,7 @@ dconf_shm_open (const gchar *name) goto out; } - /* fruncate(fd, 1) is not sufficient because it does not actually + /* ftruncate(fd, 1) is not sufficient because it does not actually * ensure that the space is available (which could give a SIGBUS * later). * @@ -128,7 +128,7 @@ dconf_shm_flag (const gchar *name) { guint8 *shm; - /* It would ahve been easier for us to do write(fd, "\1", 1); + /* It would have been easier for us to do write(fd, "\1", 1); * but this causes problems on kernels (ie: OpenBSD) that * don't sync up their filesystem cache with mmap()ed regions. * |