fix compilation errors

Change-Id: I57ca13e33768ddaa616eaf9d9168273c47738b18
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fix print error

Change-Id: I7105b365eeaafb714f23dbb9cd217c263e847c69
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>