summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-12-04 05:09:15 +0000
committerJeremy Katz <katzj@redhat.com>2002-12-04 05:09:15 +0000
commit2f014ace7f8732919521b15af7881e6cde04b860 (patch)
treee43aea9a3272e0271e02e96d43d039e181f792c0 /loader2/method.c
parent6491c068a56b4727fb99f8f36671c10e08526a48 (diff)
downloadanaconda-2f014ace7f8732919521b15af7881e6cde04b860.tar.gz
anaconda-2f014ace7f8732919521b15af7881e6cde04b860.tar.xz
anaconda-2f014ace7f8732919521b15af7881e6cde04b860.zip
ramfs seems to behave now so switch to using it for storage of netstg/hdstg
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loader2/method.c b/loader2/method.c
index 787c2d1ee..eb07dda7f 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <ctype.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
@@ -581,8 +582,8 @@ int copyFileAndLoopbackMount(int fd, char * dest, int flags,
rc = copyFileFd(fd, dest);
stat(dest, &sb);
- logMessage("copied %d bytes to %s%s", sb.st_size, dest,
- (rc) ? " (incomplete)" : "");
+ logMessage("copied %d bytes to %s (%s)", sb.st_size, dest,
+ ((rc) ? " incomplete" : "complete"));
if (rc) {
/* just to make sure */