switch to async system
[vg.git] / vg_io.h
diff --git a/vg_io.h b/vg_io.h
index a97d20a0c6d4c0fcf6a6e9fb50c04460fa07a17a..779b8726c09db9e81d45063422518bde1f3bbe92 100644 (file)
--- a/vg_io.h
+++ b/vg_io.h
@@ -54,11 +54,11 @@ VG_STATIC void *vg_file_read( void *lin_alloc, const char *path, u32 *size )
             else{
                if( ferror( f ) ){
                   fclose(f);
-                  vg_fatal_exit_loop( "read error" );
+                  vg_fatal_error( "read error" );
                }
                else{
                   fclose(f);
-                  vg_fatal_exit_loop( "unknown error codition" );
+                  vg_fatal_error( "unknown error codition" );
                }
             }
          }