]> git.tue.mpg.de Git - paraslash.git/commitdiff
aft.c: Move definition of "buf" down a bit.
authorAndre Noll <maan@systemlinux.org>
Thu, 13 Mar 2008 23:07:20 +0000 (00:07 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 13 Mar 2008 23:07:20 +0000 (00:07 +0100)
aft.c

diff --git a/aft.c b/aft.c
index 0efd285c2eb716df2aeeb47e4dfd06aa1d293e5f..5f5548f03dc9e71989fddf41acb4cb16b568910c 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -835,13 +835,13 @@ static int print_chunk_table(struct ls_data *d, struct para_buffer *b)
                AFTCOL_CHUNKS, &chunk_table_obj);
        if (ret < 0)
                return ret;
-       buf = chunk_table_obj.data;
        para_printf(b, "%s\n"
                "chunk_time: %lu:%lu\nchunk_offsets: ",
                d->path,
                (long unsigned) d->afhi.chunk_tv.tv_sec,
                (long unsigned) d->afhi.chunk_tv.tv_usec
        );
+       buf = chunk_table_obj.data;
        for (i = 0; i <= d->afhi.chunks_total; i++)
                para_printf(b, "%u ",
                        (unsigned) read_u32(buf + 4 * i));