diff options
-rw-r--r-- | cmd/cmd_write.c | 1 | ||||
-rw-r--r-- | cmd/cmd_writes.c | 2 | ||||
-rw-r--r-- | ihe.c | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/cmd/cmd_write.c b/cmd/cmd_write.c index f5d6e01..1d4c1e9 100644 --- a/cmd/cmd_write.c +++ b/cmd/cmd_write.c @@ -63,7 +63,6 @@ int c_write( cmd_arg_t *arg) return -1; } - for (i=0; i<strlen(argv[0]); i+=2) { printf("%02x ",(unsigned char)hex2u8((unsigned char*)&argv[0][i])); diff --git a/cmd/cmd_writes.c b/cmd/cmd_writes.c index 1ddc95a..6b0d472 100644 --- a/cmd/cmd_writes.c +++ b/cmd/cmd_writes.c @@ -1,3 +1,5 @@ +#include <string.h> + #include "buf.h" #include "core.h" @@ -400,8 +400,8 @@ cmd_table_t tab[] = { {"dump", c_dump}, {"dumpx", c_dumpx}, {"dumps", c_dumps}, - //{"write", c_write}, - //{"writes", c_writes}, + {"write", c_write}, + {"writes", c_writes}, {"resize", c_resize}, {"flags", c_flags}, {"manifesto", c_manifesto}, |