diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-11-17 19:39:19 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-11-17 19:39:19 +0000 |
commit | 3f6d81810dce64c7b1572668dad2cbffa228386b (patch) | |
tree | 142df202a56eff80f4fc9ab9a51817ef683d408a /bin/mv/rm.c | |
parent | 076632c5b2c945e565277cb9d44f912e0a58c96b (diff) |
as in rm, needs getpw in pledge
Diffstat (limited to 'bin/mv/rm.c')
-rw-r--r-- | bin/mv/rm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mv/rm.c b/bin/mv/rm.c index 94cb65a190f..5307d4e556c 100644 --- a/bin/mv/rm.c +++ b/bin/mv/rm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rm.c,v 1.5 2015/11/17 19:11:11 tedu Exp $ */ +/* $OpenBSD: rm.c,v 1.6 2015/11/17 19:39:18 tedu Exp $ */ /* $NetBSD: rm.c,v 1.19 1995/09/07 06:48:50 jtc Exp $ */ /*- @@ -74,7 +74,7 @@ usage(void) int rmmain(int argc, char *argv[]) { - if (pledge("stdio rpath cpath", NULL) == -1) + if (pledge("stdio rpath cpath getpw", NULL) == -1) err(1, "pledge"); checkdot(argv); |