diff options
author | Erik Troan <ewt@redhat.com> | 2001-12-07 19:25:29 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2001-12-07 19:25:29 +0000 |
commit | 895130a5765b555bf3f50ab790b20454842537d2 (patch) | |
tree | d5fed7d97f80133df027ee7726843abea93e7622 /isys | |
parent | c4aaa6b14bbcc202452f533047f5d0f8f54d29f8 (diff) | |
download | anaconda-895130a5765b555bf3f50ab790b20454842537d2.tar.gz anaconda-895130a5765b555bf3f50ab790b20454842537d2.tar.xz anaconda-895130a5765b555bf3f50ab790b20454842537d2.zip |
add stubs to make isys/filtertest debugging easier
Diffstat (limited to 'isys')
-rw-r--r-- | isys/filtertest.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/isys/filtertest.c b/isys/filtertest.c index c74fa7887..a87f05f4a 100644 --- a/isys/filtertest.c +++ b/isys/filtertest.c @@ -1,8 +1,23 @@ #include <stdio.h> #include <fcntl.h> +#include <stdarg.h> #include "cpio.h" +void warn() { +} + +void logMessage(char * text, ...) { + va_list args; + + va_start(args, text); + + vfprintf(stderr, text, args); + fprintf(stderr, "\n"); + + va_end(args); +} + int main(int argc, char ** argv) { gzFile in, out; int rc; @@ -20,7 +35,6 @@ int main(int argc, char ** argv) { out = gzip_dopen(1); rc = myCpioFilterArchive(in, out, argv + 2); - fprintf(stderr, "returned %d\n", rc); gzip_close(out); |