summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-09-05 18:01:48 +0000
committerHerb Lewis <herb@samba.org>2001-09-05 18:01:48 +0000
commitdff3c815e2837ee0421298e3da7698bd3e01e0a6 (patch)
tree41a35315e8b7da1a30dfb9fed9feb5c5e3019f38 /source3
parent283b15bcd727186848ffa4dff3aa864221f4d97e (diff)
downloadsamba-dff3c815e2837ee0421298e3da7698bd3e01e0a6.tar.gz
samba-dff3c815e2837ee0421298e3da7698bd3e01e0a6.tar.bz2
samba-dff3c815e2837ee0421298e3da7698bd3e01e0a6.zip
always include profile support so you do not need a different binary of
smbstatus to dump profile stats. (This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/status.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 1137898e34..77e76a34e8 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -155,10 +155,6 @@ static void print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid,
******************************************************************/
static int profile_dump(void)
{
-#ifndef WITH_PROFILE
- fprintf(stderr,"ERROR: not compiled with profile support\n");
- return -1;
-#else
if (!profile_setup(True)) {
fprintf(stderr,"Failed to initialise profile memory\n");
return -1;
@@ -497,7 +493,6 @@ static int profile_dump(void)
printf("election_time: %u\n", profile_p->election_time);
return 0;
-#endif
}