projects
/
lwext4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c109281
)
BUGFIX:
author
gkostka
<kostka.grzegorz@gmail.com>
Sun, 27 Oct 2013 11:52:03 +0000
(11:52 +0000)
committer
gkostka
<kostka.grzegorz@gmail.com>
Sun, 27 Oct 2013 11:52:03 +0000
(11:52 +0000)
1. Remove warnings.
demos/generic/main.c
patch
|
blob
|
history
diff --git
a/demos/generic/main.c
b/demos/generic/main.c
index c20283a674eec111612436c8e8bb607f88667bcd..ab322d99a65fdb9214020dba9400acb3f4633edf 100644
(file)
--- a/
demos/generic/main.c
+++ b/
demos/generic/main.c
@@
-133,8
+133,8
@@
static void dir_ls(const char *path)
while(de){
\r
memcpy(sss, de->name, de->name_length);
\r
sss[de->name_length] = 0;
\r
- printf(entry_to_str(de->inode_type));
\r
- printf(sss);
\r
+ printf(
"%s",
entry_to_str(de->inode_type));
\r
+ printf(
"%s",
sss);
\r
printf("\n");
\r
de = ext4_dir_entry_get(&d, j++);
\r
}
\r