diff options
Diffstat (limited to 'cmd/cmd_seek.c')
-rw-r--r-- | cmd/cmd_seek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cmd_seek.c b/cmd/cmd_seek.c index b563231..fd3dcf5 100644 --- a/cmd/cmd_seek.c +++ b/cmd/cmd_seek.c @@ -51,7 +51,7 @@ int c_seek( cmd_arg_t *arg ) { fret = file_seek( g_file, offset ); } - if ( fret != 0 ) + if ( fret < 0 ) { printf("Cannot seek postion to %zd\n", offset); return -1; |