X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdata-io%2Fget.c;h=e1bad76b93a10a108e75f8fd4f2b16d2d86cc952;hb=339f1956cc72;hp=00e78c8f00c1a39922ae3179200b6f8fb8591a9c;hpb=ff7ae14592cbdbebc4e4322424db95663ea7e166;p=pspp diff --git a/src/language/data-io/get.c b/src/language/data-io/get.c index 00e78c8f00..e1bad76b93 100644 --- a/src/language/data-io/get.c +++ b/src/language/data-io/get.c @@ -127,7 +127,7 @@ parse_read_command (struct lexer *lexer, struct dataset *ds, if (reader == NULL) goto error; - if (dict_get_var_cnt (dict) == 0) + if (dict_get_n_vars (dict) == 0) { msg (SE, _("%s: Data file dictionary has no variables."), fh_get_name (fh));