X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ftime.c;h=3a4604929a2669ed7fb1c02ed143e7f4031c34ce;hb=11be7d8eee16e6249ed2868b5bd552f29508ec02;hp=48cf10023cfd51ccd8ec877bc052e58effca58b0;hpb=6391d1a7cfa10337a75465c72d49df3c9ebc65ca;p=libguestfs.git diff --git a/fish/time.c b/fish/time.c index 48cf100..3a46049 100644 --- a/fish/time.c +++ b/fish/time.c @@ -22,6 +22,7 @@ #include #include #include +#include #include "fish.h" @@ -38,7 +39,7 @@ run_time (const char *cmd, size_t argc, char *argv[]) gettimeofday (&start_t, NULL); - if (issue_command (argv[0], &argv[1], NULL) == -1) + if (issue_command (argv[0], &argv[1], NULL, 0) == -1) return -1; gettimeofday (&end_t, NULL);