summaryrefslogtreecommitdiffstats
path: root/source/printing/print_svid.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-16 20:55:37 +0000
committerJeremy Allison <jra@samba.org>2000-03-16 20:55:37 +0000
commit3b8cbb10de322fd7a1063fb5b681790b10d24ab0 (patch)
tree216c14fc7592e3041a7c975f8e9e0f856a5ad811 /source/printing/print_svid.c
parentd97f5d57d07b03c1df69099625b9d3faabe3f605 (diff)
downloadsamba-3b8cbb10de322fd7a1063fb5b681790b10d24ab0.tar.gz
samba-3b8cbb10de322fd7a1063fb5b681790b10d24ab0.tar.xz
samba-3b8cbb10de322fd7a1063fb5b681790b10d24ab0.zip
Fixes to add "paranoid" option to popen. Checks some basic things.
Jeremy
Diffstat (limited to 'source/printing/print_svid.c')
-rw-r--r--source/printing/print_svid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/print_svid.c b/source/printing/print_svid.c
index 9891e158a27..21e8eeb6439 100644
--- a/source/printing/print_svid.c
+++ b/source/printing/print_svid.c
@@ -49,7 +49,7 @@ static void populate_printers(void)
{
FILE *fp;
- if ((fp = sys_popen("/usr/bin/lpstat -v", "r")) != NULL) {
+ if ((fp = sys_popen("/usr/bin/lpstat -v", "r", False)) != NULL) {
char buf[BUFSIZ];
while (fgets(buf, sizeof (buf), fp) != NULL) {