From: Antonio Ospite <ospite@studenti.unina.it>
Date: Thu, 10 May 2012 10:11:33 +0000 (+0200)
Subject: picoproj: fix a typo
X-Git-Tag: v0.1.3~37^2~4
X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/cf7ba028311f3d39ffae9d24d6ad342673bae543?hp=e2c8afa72334152016d1344217839abe54718a77

picoproj: fix a typo

We have no am7xxx_get_info(), maybe this is a leftover of some older
unreleased API version.
---

diff --git a/examples/picoproj.c b/examples/picoproj.c
index e18cc7d..79927c2 100644
--- a/examples/picoproj.c
+++ b/examples/picoproj.c
@@ -197,7 +197,7 @@ int main(int argc, char *argv[])
 
 	ret = am7xxx_get_device_info(dev, &device_info);
 	if (ret < 0) {
-		perror("am7xxx_get_info");
+		perror("am7xxx_get_device_info");
 		exit_code = EXIT_FAILURE;
 		goto cleanup;
 	}