diff options
Diffstat (limited to 'magrep.c')
-rw-r--r-- | magrep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/magrep.c b/magrep.c index 8cb3d1f..6f93a57 100644 --- a/magrep.c +++ b/magrep.c @@ -10,6 +10,7 @@ #include <unistd.h> #include "blaze822.h" +#include "xpledge.h" static int aflag; static int cflag; @@ -218,6 +219,8 @@ usage: if (!rx) goto usage; + xpledge("stdio rpath", ""); + *rx++ = 0; int r = regcomp(&pattern, rx, REG_EXTENDED | iflag); if (r != 0) { |