ref: a85eca317e6c5916cb82f9a29f5beb76b92b59e8
parent: c109281525bd972c75050db10980fe42ffdc80b7
author: gkostka <kostka.grzegorz@gmail.com>
date: Sun Oct 27 07:52:03 EDT 2013
BUGFIX: 1. Remove warnings.
--- a/demos/generic/main.c
+++ b/demos/generic/main.c
@@ -133,8 +133,8 @@
while(de){
memcpy(sss, de->name, de->name_length);
sss[de->name_length] = 0;
- printf(entry_to_str(de->inode_type));
- printf(sss);
+ printf("%s", entry_to_str(de->inode_type));
+ printf("%s", sss);
printf("\n");
de = ext4_dir_entry_get(&d, j++);
}