Use C_out instead if EM_mkcalls
authorceriel <none@none>
Mon, 23 Apr 1990 13:43:05 +0000 (13:43 +0000)
committerceriel <none@none>
Mon, 23 Apr 1990 13:43:05 +0000 (13:43 +0000)
util/misc/convert.c

index 9306dfd..588a312 100644 (file)
@@ -27,6 +27,7 @@ static char rcsid[] = "$Header$";
 
 char *filename;                        /* Name of input file */
 int errors;                    /* Number of errors */
+extern char *C_error;
 
 main(argc,argv)
        char **argv;
@@ -57,8 +58,8 @@ main(argc,argv)
                if (EM_error) {
                        error("%s", EM_error);
                }
-               if (p->em_type != EM_ERROR && !EM_mkcalls(p)) {
-                       error("%s", EM_error);
+               if (p->em_type != EM_ERROR && !C_out(p)) {
+                       error("%s", C_error);
                }
                EM_getinstr(p);
        }