From d17067527101710e20f4bd4f355501c989622d67 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 30 Apr 2018 10:10:29 +0200 Subject: fixed autodetect return --- libgphoto2/gphoto2-camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libgphoto2') 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. -- cgit v1.2.1