summaryrefslogtreecommitdiff
path: root/lib/util/util.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-26 17:09:35 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-26 18:19:27 +1100
commitb0b857d6ca842fb516b3330a11e0d6d78f35aded (patch)
tree0cf05ddaedb52df0211cbe2583298b86e745a1fd /lib/util/util.h
parent336ebeabad687dd81c87e0ac01e68853e15f27b1 (diff)
downloadsamba-b0b857d6ca842fb516b3330a11e0d6d78f35aded.tar.gz
samba-b0b857d6ca842fb516b3330a11e0d6d78f35aded.tar.bz2
samba-b0b857d6ca842fb516b3330a11e0d6d78f35aded.zip
s4-dns: use a loadparm list for samba_runcmd() commands
This allows commands with multiple arguments and quoting to be used, while still avoiding running a shell (and this having shell expansion problems)
Diffstat (limited to 'lib/util/util.h')
-rw-r--r--lib/util/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util.h b/lib/util/util.h
index 01831fc826..e1608a8ac4 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -890,7 +890,7 @@ struct composite_context *samba_runcmd(struct tevent_context *ev,
struct timeval timeout,
int stdout_log_level,
int stderr_log_level,
- const char *arg0, ...);
+ const char **argv0, ...);
#endif /* _SAMBA_UTIL_H_ */