From 2853095fb45c4c2cef5a32b8fecd2d9d1bd1f963 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 21 Jul 2014 21:08:25 +0000 Subject: [PATCH] debug newobject git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@15099 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/ptp2/library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 12999c442..3a5895940 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -2590,7 +2590,7 @@ capturetriggered: debug_objectinfo(params, newobject, &oi); if (oi.ParentObject == 0) { /* Capture to SDRAM */ - GP_LOG_E ("Parentobject is 0x%lx now?", (unsigned long)oi.ParentObject); + GP_LOG_E ("Parentobject of newobject 0x%x is 0x%x now?", (unsigned int)newobject, (unsigned int)oi.ParentObject); /* Happens on Nikon D70, we get Storage ID 0. So fake one. */ if (oi.StorageID == 0) { strcpy (path->folder, "/");