summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-x.bin/jrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bin/jrp.c b/.bin/jrp.c
index 7fffe83f..c156942b 100755
--- a/.bin/jrp.c
+++ b/.bin/jrp.c
@@ -188,10 +188,10 @@ static char *prompt(EditLine *el __attribute((unused))) {
 int main(int argc, char *argv[]) {
     page = getpagesize();
 
-    code.base = mmap(0, page, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, 0, 0);
+    code.base = mmap(0, page, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0);
     if (code.base == MAP_FAILED) err(EX_OSERR, "mmap");
 
-    stack.base = mmap(0, page, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, 0, 0);
+    stack.base = mmap(0, page, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0);
     if (stack.base == MAP_FAILED) err(EX_OSERR, "mmap");
     stack.limit = stack.base + page / sizeof(value);
     stack.ptr = stack.limit - 1;
n>Update terminal colors with proper base16 paletteJune McEnroe 2013-04-27Update location of Xfce4-Terminal configurationJune McEnroe 2013-04-24Update system configurationsJune McEnroe 2013-04-23Fix terminal colorsJune McEnroe 2013-04-14Start xcompmgrJune McEnroe 2013-04-06Drop pacman-color, regular pacman now has colorJune McEnroe 2013-04-06Restore wallpaper automaticallyJune McEnroe 2013-03-22Simplify autostartJune McEnroe 2013-02-24Default to Ruby 2.0June McEnroe 2013-01-26Make pretty riplrcJune McEnroe 2013-01-26Default to awesome sessionJune McEnroe 2013-01-26Add git promptJune McEnroe 2013-01-26Actually port awesome config to 3.5June McEnroe 2013-01-26Make pretty zshrcJune McEnroe 2013-01-26Port awesome config to 3.5June McEnroe 2013-01-26Replace RVM with chrubyJune McEnroe