Ignore:
Timestamp:
Sep 14, 2009, 6:54:34 PM (10 years ago)
Author:
bruno
Message:

Fix a format issue in text mode on percentage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/newt-specific.c

    r2380 r2397  
    12051205                log_msg(2, "percentage = %d", percentage);
    12061206            }
    1207             mr_strcat(taskprogress, "] %3d%%", percentage);
    1208             mr_strcat(taskprogress, " done; %2ld:%02ld to go",
    1209                     (long) time_remaining / 60, (long) time_remaining % 60);
     1207            mr_strcat(taskprogress, "] %3d%% done; %2ld:%02ld to go", percentage,
     1208                            (long) time_remaining / 60, (long) time_remaining % 60);
    12101209            printf("---progress-form---4--- %s\n", taskprogress);
    12111210            paranoid_free(taskprogress);
Note: See TracChangeset for help on using the changeset viewer.