Add another expression test and fix the bugs it found.
[pspp-builds.git] / src / sysfile-info.c
index 5c8f6a651c2759c82f7965d1c114e117dfb918f0..f66ef654632291dd1b9b4489269802a9eb0eaf6f 100644 (file)
@@ -260,7 +260,7 @@ cmd_display (void)
        }
 
       if (sorted)
-       sort (vl, n, sizeof *vl, compare_variables, NULL);
+       sort (vl, n, sizeof *vl, compare_var_names, NULL);
 
       display_variables (vl, n, as);