• Konstantin Khlebnikov's avatar
    Fix misleading error message · 67af4d2d
    Konstantin Khlebnikov authored
    This message is shown if fcntl() fails (for any reason)
    
    	ioping: fcntl failed, please retry without -D: Invalid argument
    
    First, it tells that -D is invalid argument, which is misleading.
    
    Second it tells to retry with -D even if -D was not used.
    
    Fix it, now the message is:
    
    	ioping: fcntl failed: Invalid argument
    	Please retry without -D
    Signed-off-by: default avatarKir Kolyshkin <kir@openvz.org>
    
    67af4d2d
ioping.c 10.8 KB