diff options
Diffstat (limited to 'plugins/popen.c')
| -rw-r--r-- | plugins/popen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/popen.c b/plugins/popen.c index 7703afc8..b395f14a 100644 --- a/plugins/popen.c +++ b/plugins/popen.c | |||
| @@ -178,7 +178,7 @@ spopen (const char *cmdstring) | |||
| 178 | } | 178 | } |
| 179 | argv[i] = NULL; | 179 | argv[i] = NULL; |
| 180 | 180 | ||
| 181 | long maxfd = open_max(); | 181 | long maxfd = mp_open_max(); |
| 182 | 182 | ||
| 183 | if (childpid == NULL) { /* first time through */ | 183 | if (childpid == NULL) { /* first time through */ |
| 184 | if ((childpid = calloc ((size_t)maxfd, sizeof (pid_t))) == NULL) | 184 | if ((childpid = calloc ((size_t)maxfd, sizeof (pid_t))) == NULL) |
