commit | 3fb8d302f487308e5f784ef793eb70a4ea8df64e | [log] [tgz] |
---|---|---|
author | Koushik K. Dutta <koushd@gmail.com> | Mon Mar 15 17:05:27 2010 -0700 |
committer | Koushik K. Dutta <koushd@gmail.com> | Mon Mar 15 17:05:27 2010 -0700 |
tree | 00d2582d4d73aa627103fb5c68d20edf8882b643 | |
parent | 4b249cd022cceb4bc0a58622ae98ec8182cb1290 [diff] [blame] |
use the cached basename, rather than call it again.
diff --git a/nandroid.c b/nandroid.c index ae99cd8..570cb5f 100644 --- a/nandroid.c +++ b/nandroid.c
@@ -51,7 +51,7 @@ { char* justfile = basename(filename); if (strlen(justfile) < 30) - ui_print(basename(filename)); + ui_print(justfile); yaffs_files_count++; if (yaffs_files_total != 0) ui_set_progress((float)yaffs_files_count / (float)yaffs_files_total);