gp2y0a: fix context allocation error message

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson 2016-10-25 17:21:26 -06:00
parent 99abe95a97
commit 8820fd159a

View File

@ -38,8 +38,8 @@ gp2y0a_context gp2y0a_init(uint8_t pin, float a_ref){
if (!dev)
{
printf("%s: device context allocation failed (%d).\n",
__FUNCTION__, mraa_rv);
printf("%s: device context allocation failed.\n",
__FUNCTION__);
return NULL;
}