diff options
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. * |