* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]

(maintenance_set_profile_cmd): Use error () instead of warning ().
This commit is contained in:
Daniel Jacobowitz 2003-01-27 20:25:35 +00:00
parent a84dbcb3d9
commit 51ee2ddc9e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-27 Daniel Jacobowitz <drow@mvista.com>
* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
(maintenance_set_profile_cmd): Use error () instead of warning ().
2003-01-27 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Check that -pg works if using --enable-profiling.

View File

@ -692,7 +692,7 @@ maintenance_set_profile_cmd (char *args, int from_tty, struct cmd_list_element *
static void
maintenance_set_profile_cmd (char *args, int from_tty, struct cmd_list_element *c)
{
warning ("Profiling support is not available on this system.");
error ("Profiling support is not available on this system.");
}
#endif