diff options
Diffstat (limited to 'cmd/cmd_blk.c')
-rw-r--r-- | cmd/cmd_blk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/cmd_blk.c b/cmd/cmd_blk.c index a568f98..b849026 100644 --- a/cmd/cmd_blk.c +++ b/cmd/cmd_blk.c @@ -24,7 +24,10 @@ int c_blk( cmd_arg_t *arg ) } else if ( argc == 1 ) { if ((type[0] == CMDT_INT) || (type[0] == CMDT_HEX)) + { g_file->blk_size = atoi( argv[0] ); + g_buf->realloc(g_file->blk_size); + } } else { return -1; |