From eef8e7b05ffab4c7d12a5f7e135357c0462c180c Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 30 Oct 2019 15:09:20 +0800 Subject: printf -> dbg_printf --- ext4fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext4fs.c') diff --git a/ext4fs.c b/ext4fs.c index 37b31d9..ba4c1da 100644 --- a/ext4fs.c +++ b/ext4fs.c @@ -190,7 +190,7 @@ int ext4fs_ls(const char *dirname) status = ext4fs_find_file(dirname, &ext4fs_root->diropen, &dirnode, FILETYPE_DIRECTORY); if (status != 1) { - printf("** Can not find directory. **\n"); + dbg_printf("** Can not find directory. **\n"); if (dirnode) ext4fs_free_node(dirnode, &ext4fs_root->diropen); return 1; @@ -245,7 +245,7 @@ int ext4_read_file(const char *filename, void *buf, loff_t offset, loff_t len, ret = ext4fs_open(filename, &file_len); if (ret < 0) { - printf("** File not found %s **\n", filename); + dbg_printf("** File not found %s **\n", filename); return -1; } -- cgit v1.2.3