Continue reforming error message support. In this phase, we divide
[pspp-builds.git] / src / data / casefile.c
index 1ae743bd965fd81ea2c57738ae5e9f114959b1fd..cf2d4f8dc8b212f17e90efdd420e59202f85821a 100644 (file)
@@ -736,7 +736,8 @@ io_error (struct casefile *cf, const char *format, ...)
       struct error e;
       va_list args;
 
-      e.class = ME;
+      e.category = MSG_GENERAL;
+      e.severity = MSG_ERROR;
       e.where.file_name = NULL;
       e.where.line_number = -1;
       e.title = NULL;