summaryrefslogtreecommitdiff
path: root/libgphoto2
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2018-04-30 10:10:29 +0200
committerMarcus Meissner <marcus@jet.franken.de>2018-04-30 10:20:09 +0200
commitd17067527101710e20f4bd4f355501c989622d67 (patch)
tree405cf72f68486c7decc1fb3c8a38aa77d6d38377 /libgphoto2
parent7177e6a775e68da228872718b35cce7a10ada7c1 (diff)
downloadlibgphoto2-d17067527101710e20f4bd4f355501c989622d67.tar.gz
fixed autodetect return
Diffstat (limited to 'libgphoto2')
-rw-r--r--libgphoto2/gphoto2-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgphoto2/gphoto2-camera.c b/libgphoto2/gphoto2-camera.c
index 5a1cabdc0..e190c3658 100644
--- a/libgphoto2/gphoto2-camera.c
+++ b/libgphoto2/gphoto2-camera.c
@@ -604,7 +604,7 @@ gp_camera_free (Camera *camera)
*
* @param list a #CameraList that receives the autodetected cameras
* @param context a #GPContext
- * @return a gphoto2 error code
+ * @return the number of cameras detected (0 to n) or a gphoto2 error code (<0)
*
* This camera will autodetected all cameras that can be autodetected.
* This will for instance detect all USB cameras.