X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsysfile-info.c;h=a9f074ab3be2ae6838f76ddd42afe1298fbf0d88;hb=6d2a8977cc6a54e9e2278467f2af3d5ae277cd43;hp=fe26a7c0335bf1a2f4b98cb71fcc99e66475bb35;hpb=6ac27d1da3fdebee275343fcf7b6625fc1f1da79;p=pspp diff --git a/src/sysfile-info.c b/src/sysfile-info.c index fe26a7c033..a9f074ab3b 100644 --- a/src/sysfile-info.c +++ b/src/sysfile-info.c @@ -98,7 +98,7 @@ cmd_sysfile_info (void) t = tab_create (2, 9, 0); tab_vline (t, TAL_1 | TAL_SPACING, 1, 0, 8); tab_text (t, 0, 0, TAB_LEFT, _("File:")); - tab_text (t, 1, 0, TAB_LEFT, handle_get_filename (h)); + tab_text (t, 1, 0, TAB_LEFT, fh_get_filename (h)); tab_text (t, 0, 1, TAB_LEFT, _("Label:")); { const char *label = dict_get_label (d); @@ -576,7 +576,7 @@ display_vectors (int sorted) return; } - vl = xmalloc (sizeof *vl * nvec); + vl = xnmalloc (nvec, sizeof *vl); for (i = 0; i < nvec; i++) vl[i] = dict_get_vector (default_dict, i); if (sorted)