picoproj: fix a typo
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 10 May 2012 10:11:33 +0000 (12:11 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 10 May 2012 13:58:00 +0000 (15:58 +0200)
We have no am7xxx_get_info(), maybe this is a leftover of some older
unreleased API version.

examples/picoproj.c

index e18cc7d..79927c2 100644 (file)
@@ -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;
        }