summaryrefslogtreecommitdiffstats
path: root/pciusb.c
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-03 12:03:55 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-03 12:03:55 +0000
commitf90de9f992cc01d44c6fe85ac26cbdcdd2c86419 (patch)
tree1dc3e084fd6a38f7f0b036c7a433e6ebd30d31ba /pciusb.c
parent010ad01ab371d3ed4d3478c68c7414b5e5fd0594 (diff)
downloadldetect-f90de9f992cc01d44c6fe85ac26cbdcdd2c86419.tar
ldetect-f90de9f992cc01d44c6fe85ac26cbdcdd2c86419.tar.gz
ldetect-f90de9f992cc01d44c6fe85ac26cbdcdd2c86419.tar.bz2
ldetect-f90de9f992cc01d44c6fe85ac26cbdcdd2c86419.tar.xz
ldetect-f90de9f992cc01d44c6fe85ac26cbdcdd2c86419.zip
s/zcat/gzip -cd/ back for lord pixou
Diffstat (limited to 'pciusb.c')
-rw-r--r--pciusb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pciusb.c b/pciusb.c
index 9874f4c..eb5fa1f 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -42,14 +42,15 @@ static fh fh_open(char *fname) {
ret.f = fdopen(fdno[0], "r");
close(fdno[1]);
} else {
- char* cmd[4];
+ char* cmd[5];
int ip = 0;
char *ld_loader = getenv("LD_LOADER");
if (ld_loader && *ld_loader)
cmd[ip++] = ld_loader;
- cmd[ip++] = "zcat";
+ cmd[ip++] = "gzip";
+ cmd[ip++] = "-cd";
cmd[ip++] = fname_gz;
cmd[ip++] = NULL;