commit 85829938dd914e0047d9dcaf9772920c13f315f5
parent 3ac0a43822a62c4f72e326059fe60df7032dd3f9
Author: Kyle Milz <kyle@0x30.net>
Date: Sun, 25 Sep 2016 08:40:23 -0600
src: comment and whitespace
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/rt.c b/src/rt.c
@@ -18,7 +18,7 @@
#include <assert.h>
#include <err.h>
-#include <errno.h>
+#include <errno.h> /* EEXIST */
#include <fcntl.h> /* O_CREAT */
#include <limits.h> /* PATH_MAX */
#include <stdlib.h> /* get{env,progname} */
@@ -80,7 +80,7 @@ shm_extend(int bytes)
/* Increase the size of the memory mapping. */
shm = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_SHARED,
- shm_fd, shm_len);
+ shm_fd, shm_len);
if (shm == MAP_FAILED)
err(1, "mmap %i bytes @ %zu", bytes, shm_len);