diff options
-rw-r--r-- | games/grdc/grdc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index 1b33b01c803..0777fbe4d63 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grdc.c,v 1.19 2014/11/19 03:27:45 schwarze Exp $ */ +/* $OpenBSD: grdc.c,v 1.20 2015/11/30 08:46:07 tb Exp $ */ /* * * Copyright 2002 Amos Shapir. Public domain. @@ -70,6 +70,9 @@ main(int argc, char *argv[]) int ybase; int wintoosmall; + if (pledge("stdio rpath tty", NULL) == -1) + err(1, "pledge"); + scrol = wintoosmall = 0; while ((i = getopt(argc, argv, "sh")) != -1) switch (i) { |