diff ffstools/tiffs-rd/main.c @ 240:acedd4c88d2e

tiffs cat command implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 27 Jan 2014 02:32:46 +0000
parents 0b13839f782c
children c95efd27fb2e
line wrap: on
line diff
--- a/ffstools/tiffs-rd/main.c	Mon Jan 27 01:50:22 2014 +0000
+++ b/ffstools/tiffs-rd/main.c	Mon Jan 27 02:32:46 2014 +0000
@@ -54,6 +54,7 @@
 }
 
 extern int cmd_blkhdr();
+extern int cmd_cat();
 extern int cmd_fsinfo();
 extern int cmd_ls();
 extern int cmd_lsino();
@@ -63,7 +64,7 @@
 	int (*func)();
 } cmdtab[] = {
 	{"blkhdr", cmd_blkhdr},
-	{"cat", NULL},
+	{"cat", cmd_cat},
 	{"fsck", NULL},
 	{"fsinfo", cmd_fsinfo},
 	{"ls", cmd_ls},