]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/cmd_diag.c
* Patches by Thomas Viehweger, 16 Mar 2004:
[karo-tx-uboot.git] / common / cmd_diag.c
index 861f005289da98931f7c049dde3a36b71696c66d..45c4b31f5fa19b94d98e88f880f549c3335b2888 100644 (file)
@@ -37,11 +37,11 @@ int do_diag (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
        if (argc == 1 || strcmp (argv[1], "run") != 0) {
                /* List test info */
                if (argc == 1) {
-                       printf ("Available hardware tests:\n");
+                       puts ("Available hardware tests:\n");
                        post_info (NULL);
-                       printf ("Use 'diag [<test1> [<test2> ...]]'"
+                       puts ("Use 'diag [<test1> [<test2> ...]]'"
                                        " to get more info.\n");
-                       printf ("Use 'diag run [<test1> [<test2> ...]]'"
+                       puts ("Use 'diag run [<test1> [<test2> ...]]'"
                                        " to run tests.\n");
                } else {
                        for (i = 1; i < argc; i++) {