Fixed wrong argument to strncpy now that config.h is implicitly included
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3370 67ed7778-7388-44ab-90cf-0a291f65f57c
This commit is contained in:
@@ -54,7 +54,7 @@ int camera_abilities (CameraAbilitiesList *list)
|
||||
CameraAbilities a;
|
||||
|
||||
#if defined HAVE_STRNCPY
|
||||
strncpy(a.model, "Minolta Dimage V", sizeof(a->model));
|
||||
strncpy(a.model, "Minolta Dimage V", sizeof(a.model));
|
||||
#else
|
||||
strcpy(a.model, "Minolta Dimage V");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user