diff options
Diffstat (limited to 'usr.bin/tic')
-rw-r--r-- | usr.bin/tic/tic.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/tic/tic.c b/usr.bin/tic/tic.c index d55f609ee3f..7d8eba8d7c1 100644 --- a/usr.bin/tic/tic.c +++ b/usr.bin/tic/tic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tic.c,v 1.31 2013/11/28 18:24:55 deraadt Exp $ */ +/* $OpenBSD: tic.c,v 1.32 2015/10/10 14:27:43 deraadt Exp $ */ /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * @@ -46,7 +46,7 @@ #include <dump_entry.h> #include <transform.h> -MODULE_ID("$Id: tic.c,v 1.31 2013/11/28 18:24:55 deraadt Exp $") +MODULE_ID("$Id: tic.c,v 1.32 2015/10/10 14:27:43 deraadt Exp $") const char *_nc_progname = "tic"; @@ -499,6 +499,9 @@ main(int argc, char *argv[]) bool check_only = FALSE; bool suppress_untranslatable = FALSE; + if (pledge("stdio rpath wpath cpath", NULL) == -1) + perror("pledge"); + log_fp = stderr; _nc_progname = _nc_rootname(argv[0]); |