diff options
author | Herb Lewis <herb@samba.org> | 2001-09-05 18:01:48 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-09-05 18:01:48 +0000 |
commit | fc048955b8af05779992bc111f9bd690b8a8faf2 (patch) | |
tree | 2b5d4b484d344264ee94d47e3739c6e6a891f634 | |
parent | 6c333e9d922b3a7443db829277b8a209cce2d350 (diff) | |
download | samba-fc048955b8af05779992bc111f9bd690b8a8faf2.tar.gz samba-fc048955b8af05779992bc111f9bd690b8a8faf2.tar.xz samba-fc048955b8af05779992bc111f9bd690b8a8faf2.zip |
always include profile support so you do not need a different binary of
smbstatus to dump profile stats.
-rw-r--r-- | source/utils/status.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/utils/status.c b/source/utils/status.c index 1137898e340..77e76a34e8b 100644 --- a/source/utils/status.c +++ b/source/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 } |