summaryrefslogtreecommitdiff
path: root/cmd/cmd_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cmd_open.c')
-rw-r--r--cmd/cmd_open.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/cmd_open.c b/cmd/cmd_open.c
index 6ecfa8e..a4740c6 100644
--- a/cmd/cmd_open.c
+++ b/cmd/cmd_open.c
@@ -19,6 +19,8 @@ int c_open( cmd_arg_t *arg )
char *fname = NULL;
int fret = 0;
+ printf("%s\n",argv[0]);
+
if ( argc != 1 )
{
printf("Neeed one argument %d\n",argc);
@@ -27,6 +29,8 @@ int c_open( cmd_arg_t *arg )
fname = argv[0];
+ printf("%s\n",fname);
+
fret = file_open_fn( g_file, fname, g_flags ); //!if failure fields could be non empty inside struct
if ( fret < 0 )
{