]> Zhao Yanbai Git Server - minix.git/commitdiff
More bytes
authorBen Gras <ben@minix3.org>
Thu, 22 Sep 2005 16:03:44 +0000 (16:03 +0000)
committerBen Gras <ben@minix3.org>
Thu, 22 Sep 2005 16:03:44 +0000 (16:03 +0000)
commands/ftp/file.c

index ab2c6f882bf5ff87fd36da6b2be7ebb3fc8230cc..beee1959d954f17f02423ec79c8a8d592dad8f69 100755 (executable)
@@ -84,7 +84,7 @@ unsigned long total=0L;
                }
        }
        if(atty) {
-               printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
+               printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
                fflush(stdout);
        }
    }
@@ -114,7 +114,7 @@ unsigned long total=0L;
        write(fdout, buffer, s);
        total += (long)s;
        if(atty) {
-               printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
+               printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
                fflush(stdout);
        }
    }
@@ -183,7 +183,7 @@ unsigned long total=0L;
                }
        }
        if(atty && fd > 2) {
-               printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
+               printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
                fflush(stdout);
        }
    }
@@ -213,7 +213,7 @@ unsigned long total=0L;
        write(fd, buffer, s);
        total += (long)s;
        if(atty && fd > 2) {
-               printf("%8lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
+               printf("%9lu bytes\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b", total);
                fflush(stdout);
        }
    }