OSDN Git Service

Fixed ioctl() error return for ntfsclone on Windows
authorJean-Pierre André <jpandre@users.sourceforge.net>
Sat, 12 Apr 2014 07:14:08 +0000 (09:14 +0200)
committerJean-Pierre André <jpandre@users.sourceforge.net>
Sat, 12 Apr 2014 07:14:08 +0000 (09:14 +0200)
commitf3c4c6c6046c6eeb38779858ba5299f0f388c300
treee37e4d9434378fefcb53516bc7643aef66773466
parentfd93d8e840c3bcaa14e024cb66b878fc6ae65d9c
Fixed ioctl() error return for ntfsclone on Windows

The ioctl() function is not implemented in the Windows variant. By forcing
a negative apparent return, an alternative is triggered to get the
partition size which is normally obtained from an ioctl().
ntfsprogs/ntfsclone.c