diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-05-04 06:12:55 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-05-04 06:12:55 -0400 |
commit | 7eb77555f12823a7b5763122b6817fb66eb2a89f (patch) | |
tree | 52541c02a11cb4602ab98d7a6d3b0d4bedb4aa91 /qlop.c | |
parent | tests: qmerge: fix running in nocolor mode (diff) | |
download | portage-utils-7eb77555f12823a7b5763122b6817fb66eb2a89f.tar.gz portage-utils-7eb77555f12823a7b5763122b6817fb66eb2a89f.tar.bz2 portage-utils-7eb77555f12823a7b5763122b6817fb66eb2a89f.zip |
qcheck/qlop/qmerge/qxpak: fix spurious trailing u
The PRIu64 constant doesn't need its own "u" format as it's built in.
For qcheck, this meant we generated invalid CONTENTS when updating.
For the rest, it meant we had weird user facing output.
Take this opportunity to add a qcheck testsuite.
URL: https://bugs.gentoo.org/548262
Reported-by: Johnny Wezel <dev-jay@wezel.name>
Diffstat (limited to 'qlop.c')
-rw-r--r-- | qlop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ show_merge_times(char *package, const char *logfile, int average, char human_rea if (human_readable) print_seconds_for_earthlings(t[1] - t[0]); else - printf("%s%"PRIu64"u%s seconds", GREEN, (uint64_t)(t[1] - t[0]), NORM); + printf("%s%"PRIu64"%s seconds", GREEN, (uint64_t)(t[1] - t[0]), NORM); puts(""); } merge_time += (t[1] - t[0]); |