diff --git a/camlibs/ptp2/ptp-private.h b/camlibs/ptp2/ptp-private.h index ca0f4a99a..98485b47a 100644 --- a/camlibs/ptp2/ptp-private.h +++ b/camlibs/ptp2/ptp-private.h @@ -110,7 +110,7 @@ inline static int log_on_ptp_error_helper( int _r, const char* _func, const char #define CR(RESULT) do {\ int cr_r=(RESULT);\ if (cr_r<0) {\ - GP_LOG_E ("'%s' failed: '%s' (%d)", #RESULT, gp_port_result_as_string(cr_r), cr_r);\ + GP_LOG_E ("'%s' failed: '%s' (%d)", #RESULT, gp_result_as_string(cr_r), cr_r);\ return cr_r;\ }\ } while (0)