Private
Public Access
2
0

i2c.c: Fix typo in syslog message

Signed-off-by: Martin G Lane-Smith <mlanesmith@gmail.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
wda2945
2016-03-29 22:11:47 -10:00
committed by Brendan Le Foll
parent 1ebe377487
commit 0da3d35a8f

View File

@@ -79,7 +79,7 @@ mraa_i2c_init_internal(mraa_adv_func_t* advance_func, unsigned int bus)
mraa_i2c_context dev = (mraa_i2c_context) calloc(1, sizeof(struct _i2c));
if (dev == NULL) {
syslog(LOG_CRIT, "i2c%s_init: Failed to allocate memory for context", bus);
syslog(LOG_CRIT, "i2c%i_init: Failed to allocate memory for context", bus);
return NULL;
}