diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-15 17:09:19 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-15 17:09:19 +0200 |
commit | 409c80e98fecd295764acd2a2150c34268b93291 (patch) | |
tree | 3bf31854f993e9e13d61229fc9dc37c8a02dd6f4 | |
parent | 8c7e822d888b48db883ea9a1f6849d27b799a4f0 (diff) | |
download | mblaze-409c80e98fecd295764acd2a2150c34268b93291.tar.gz mblaze-409c80e98fecd295764acd2a2150c34268b93291.tar.xz mblaze-409c80e98fecd295764acd2a2150c34268b93291.zip |
next: oops
-rw-r--r-- | next.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/next.c b/next.c index 45b1b1b..b121c74 100644 --- a/next.c +++ b/next.c @@ -20,7 +20,7 @@ main(int argc, char *argv[]) fstat(fd, &st); char *map = mmap(0, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); - if (map = MAP_FAILED) + if (map == MAP_FAILED) exit(102); char *s; |