Skip to content
Commit e21885b0 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

regfile: Fix regular file open and lseek on restore



1. Seeking should be done for real files only , for fifos using the
   same code -- shouldn't. Thus -- move the lseek to proper place;
2. It's nice to print error on file open error;
3. It's nice to handle lseek error.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 29e8c856
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment