summaryrefslogtreecommitdiffstats
path: root/lib/libdpv
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2016-01-07 18:50:02 +0000
committerdteske <dteske@FreeBSD.org>2016-01-07 18:50:02 +0000
commit8d062e4dae0bcba495a5934cfbd836d14bc96d71 (patch)
treef051d2eeaf012ebd4a48146b877509079479a260 /lib/libdpv
parent252aa9ecdf74fb3dcb03b24e1f99ae5d58d3b742 (diff)
downloadFreeBSD-src-8d062e4dae0bcba495a5934cfbd836d14bc96d71.zip
FreeBSD-src-8d062e4dae0bcba495a5934cfbd836d14bc96d71.tar.gz
Increase maximum buffer size for `-x cmd' value
MFC after: 3 days X-MFC-to: stable/10
Diffstat (limited to 'lib/libdpv')
-rw-r--r--lib/libdpv/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdpv/util.h b/lib/libdpv/util.h
index 7bb3b18..5f646a6 100644
--- a/lib/libdpv/util.h
+++ b/lib/libdpv/util.h
@@ -41,7 +41,7 @@
#define PATH_SHELL "/bin/sh"
#endif
-#define CMDBUFMAX 4096
+#define CMDBUFMAX 65536
__BEGIN_DECLS
int shell_spawn_pipecmd(const char *_cmd, const char *_label, pid_t *_pid);
OpenPOWER on IntegriCloud