diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-11-07 21:42:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-11-07 21:42:22 +0000 |
commit | d9bc968d5b603d3c703281e9aabda21aa65577f4 (patch) | |
tree | cacc7b8cfc383feee367bbd19bee9e6864c6ead2 /cpukit/libmisc/untar/untar.c | |
parent | Revert. (diff) | |
download | rtems-d9bc968d5b603d3c703281e9aabda21aa65577f4.tar.bz2 |
2011-11-07 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 1952/cpukit
* libmisc/untar/untar.c: Add return code for failure when unable to
write file.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/untar/untar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libmisc/untar/untar.c b/cpukit/libmisc/untar/untar.c index 2c5c8e9cf3..71669a40b3 100644 --- a/cpukit/libmisc/untar/untar.c +++ b/cpukit/libmisc/untar/untar.c @@ -205,6 +205,7 @@ Untar_FromMemory( if (n != len) { printk("untar: Error during write\n"); + retval = UNTAR_FAIL; break; } ptr += 512; |