From e5c588603264d5c1b1f5eca45564769b4f087e41 Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 18 Feb 2005 23:25:45 +0000 Subject: [PATCH] Add filesystem size --iso9660 output. --- src/iso-info.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/iso-info.c b/src/iso-info.c index f22a1a38..dbfb6891 100644 --- a/src/iso-info.c +++ b/src/iso-info.c @@ -1,5 +1,5 @@ /* - $Id: iso-info.c,v 1.22 2005/02/18 22:36:29 rocky Exp $ + $Id: iso-info.c,v 1.23 2005/02/18 23:25:45 rocky Exp $ Copyright (C) 2004, 2005 Rocky Bernstein @@ -223,16 +223,16 @@ print_iso9660_recurse (iso9660_t *p_iso, const char pathname[]) printf ("%9u (%9u)", (unsigned int) p_statbuf->secsize * M2F2_SECTOR_SIZE, (unsigned int) p_statbuf->size); - } else { - printf ("%9u", (unsigned int) p_statbuf->size); } + } else { + printf ("%9u", (unsigned int) p_statbuf->size); } strftime(date_str, DATESTR_SIZE, "%b %d %Y %H:%M ", &p_statbuf->tm); printf (" %s %s\n", date_str, yep == p_statbuf->b_rock ? iso_name : translated_name); } else if ( strcmp (iso_name, ".") && strcmp (iso_name, "..")) - printf("%s%s\n", pathname, + printf("%9u %s%s\n", p_statbuf->size, pathname, yep == p_statbuf->b_rock ? iso_name : translated_name); }