1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

straightforward pledge "stdio rpath wpath cpath tty" for gomoku

This commit is contained in:
tb 2015-11-30 08:44:51 +00:00
parent 95ae2554fc
commit 24c4b92ed4

View File

@ -1,4 +1,4 @@
/* $OpenBSD: main.c,v 1.28 2015/11/04 21:22:10 tedu Exp $ */
/* $OpenBSD: main.c,v 1.29 2015/11/30 08:44:51 tb Exp $ */
/*
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
@ -81,6 +81,9 @@ main(argc, argv)
};
char *tmpname;
if (pledge("stdio rpath wpath cpath tty", NULL) == -1)
err(1, "pledge");
prog = strrchr(argv[0], '/');
if (prog)
prog++;