diff options
Diffstat (limited to 'cpukit/libmisc/untar/untar.c')
-rw-r--r-- | cpukit/libmisc/untar/untar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libmisc/untar/untar.c b/cpukit/libmisc/untar/untar.c index 54f7acebaf..ad3b789f08 100644 --- a/cpukit/libmisc/untar/untar.c +++ b/cpukit/libmisc/untar/untar.c @@ -204,7 +204,7 @@ Untar_FromMemory(unsigned char *tar_buf, unsigned long size) nblocks = (((file_size) + 511) & ~511) / 512; if ((fp = fopen(fname, "w")) == NULL) { - printf("Untar failed to create file %s\n", fname); + fprintf(stdout,"Untar failed to create file %s\n", fname); ptr += 512 * nblocks; } else @@ -222,7 +222,7 @@ Untar_FromMemory(unsigned char *tar_buf, unsigned long size) n = fwrite(&tar_buf[ptr], 1, len, fp); if (n != len) { - printf("Error during write\n"); + fprintf(stdout,"Error during write\n"); break; } ptr += 512; |