diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2018-04-16 13:01:58 +0200 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2018-04-16 13:01:58 +0200 |
commit | 3c670de54eab143f41d95553dd4d2e56cd074bd9 (patch) | |
tree | 4fddf5c1591dcd6a78481706384795fbdedfd8fb /libgphoto2_port/usbdiskdirect/linux.c | |
parent | 5181a0fd4aae804c35bab541e9be1bc0dc5d12e8 (diff) | |
download | libgphoto2-3c670de54eab143f41d95553dd4d2e56cd074bd9.tar.gz |
removed incorrect ! from a error handling expression
fixes https://github.com/gphoto/gphoto2/issues/130
Diffstat (limited to 'libgphoto2_port/usbdiskdirect/linux.c')
-rw-r--r-- | libgphoto2_port/usbdiskdirect/linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2_port/usbdiskdirect/linux.c b/libgphoto2_port/usbdiskdirect/linux.c index 2dd14dc3d..d890e9667 100644 --- a/libgphoto2_port/usbdiskdirect/linux.c +++ b/libgphoto2_port/usbdiskdirect/linux.c @@ -312,7 +312,7 @@ static int gp_port_usbdiskdirect_seek (GPPort *port, int offset, int whence) { off_t ret; - C_PARAMS (!port); + C_PARAMS (port); /* The device needs to be opened for that operation */ if (port->pl->fd == -1) |