summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-03 15:59:30 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-03 16:01:39 +0100
commiteb9c845db55eb048f6027e19f7016b20d2827f47 (patch)
tree3a7a57e9c2c3830823a61a5772ec3743d6bbda65 /firmware/drivers
parent98280bb2030a172032741214909a3864dd02a49b (diff)
downloadrockbox-eb9c845db55eb048f6027e19f7016b20d2827f47.tar.gz
rockbox-eb9c845db55eb048f6027e19f7016b20d2827f47.zip
Fix up some DEBUGF statements
The last big filesystem code refactoring broke a lot of debug statements. firmware/test/fat/ doesn't build anymore, but that's more or less unrelated. Change-Id: I4c9e1289eeabe1b59d436b176f1d35a02176614f
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index 44e5ab2f4c..e89a5ce98d 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -1957,7 +1957,7 @@ int fat_create_file(struct fat_file *parent, const char *name,
1957 uint8_t attr, struct fat_file *file, 1957 uint8_t attr, struct fat_file *file,
1958 struct fat_direntry *fatent) 1958 struct fat_direntry *fatent)
1959{ 1959{
1960 DEBUGF("%s(\"%s\",%lx,%lx)\n", __func__, name, (long)file, (long)dir); 1960 DEBUGF("%s(\"%s\",%lx,%lx)\n", __func__, name, (long)file, (long)parent);
1961 struct bpb * const fat_bpb = FAT_BPB(parent->volume); 1961 struct bpb * const fat_bpb = FAT_BPB(parent->volume);
1962 if (!fat_bpb) 1962 if (!fat_bpb)
1963 return -1; 1963 return -1;
@@ -2107,7 +2107,7 @@ int fat_remove(struct fat_file *file, enum fat_remove_op what)
2107 if (file->dircluster && (what & FAT_RM_DIRENTRIES)) 2107 if (file->dircluster && (what & FAT_RM_DIRENTRIES))
2108 { 2108 {
2109 /* free everything in the parent directory */ 2109 /* free everything in the parent directory */
2110 DEBUGF("Removing dir entries: %lX\n", info->dircluster); 2110 DEBUGF("Removing dir entries: %lX\n", file->dircluster);
2111 rc = free_direntries(fat_bpb, file); 2111 rc = free_direntries(fat_bpb, file);
2112 if (rc <= 0) 2112 if (rc <= 0)
2113 FAT_ERROR(rc * 10 - 3); 2113 FAT_ERROR(rc * 10 - 3);