]> git.saurik.com Git - apple/system_cmds.git/blobdiff - latency.tproj/latency.c
system_cmds-735.50.6.tar.gz
[apple/system_cmds.git] / latency.tproj / latency.c
index 8047b2d84d46e651dd3bccaa060517b0d61c4175..b48bc5562a55f7876102ed1ab1d83d3a0011a431 100644 (file)
@@ -365,6 +365,8 @@ quit(char *s)
                        set_remove();
                }
        }
+       endwin();
+
        printf("latency: ");
        if (s) {
                printf("%s", s);
@@ -2583,7 +2585,7 @@ do_kernel_nm(void)
        /*
         * Build the nm command and create a tmp file with the output
         */
-       sprintf (tmpstr, "/usr/bin/nm -f -n -s __TEXT __text %s > %s",
+       sprintf (tmpstr, "/usr/bin/nm -n %s -s __TEXT __text > %s",
                 kernelpath, tmp_nm_file);
        system(tmpstr);