diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libopkg_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libopkg_test.c b/tests/libopkg_test.c index fe1cefd..8c64b5e 100644 --- a/tests/libopkg_test.c +++ b/tests/libopkg_test.c @@ -3,9 +3,9 @@ #include <stdio.h> void -progress_callback (opkg_t *opkg, int percent, void *data) +progress_callback (opkg_t *opkg, const opkg_progress_data_t *progress, void *data) { - printf ("\r%s %3d%%", (char*) data, percent); + printf ("\r%s %3d%%", (char*) data, progress->percentage); fflush (stdout); } |