=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tic/tic.c,v retrieving revision 1.32 retrieving revision 1.33 diff -c -r1.32 -r1.33 *** src/usr.bin/tic/tic.c 2015/10/10 14:27:43 1.32 --- src/usr.bin/tic/tic.c 2015/11/11 02:52:46 1.33 *************** *** 1,4 **** ! /* $OpenBSD: tic.c,v 1.32 2015/10/10 14:27:43 deraadt Exp $ */ /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * --- 1,4 ---- ! /* $OpenBSD: tic.c,v 1.33 2015/11/11 02:52:46 deraadt Exp $ */ /**************************************************************************** * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * *************** *** 46,52 **** #include #include ! MODULE_ID("$Id: tic.c,v 1.32 2015/10/10 14:27:43 deraadt Exp $") const char *_nc_progname = "tic"; --- 46,52 ---- #include #include ! MODULE_ID("$Id: tic.c,v 1.33 2015/11/11 02:52:46 deraadt Exp $") const char *_nc_progname = "tic"; *************** *** 499,506 **** bool check_only = FALSE; bool suppress_untranslatable = FALSE; ! if (pledge("stdio rpath wpath cpath", NULL) == -1) perror("pledge"); log_fp = stderr; --- 499,508 ---- bool check_only = FALSE; bool suppress_untranslatable = FALSE; ! if (pledge("stdio rpath wpath cpath", NULL) == -1) { perror("pledge"); + exit(1); + } log_fp = stderr;