r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
[kai/samba-autobuild/.git] / source / utils / status_profile.c
index b4c4940f3fd5b817d5e7c328b0fd44ab12f543e6..bbf3645fd9e131bf587a10ce3d92c6c4f7349d1e 100644 (file)
@@ -6,7 +6,7 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -15,8 +15,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "includes.h"
@@ -47,7 +46,7 @@ static void profile_separator(const char * title)
 BOOL status_profile_dump(BOOL verbose)
 {
 #ifdef WITH_PROFILE
-       if (!profile_setup(True)) {
+       if (!profile_setup(NULL, True)) {
                fprintf(stderr,"Failed to initialise profile memory\n");
                return False;
        }
@@ -487,7 +486,7 @@ BOOL status_profile_rates(BOOL verbose)
                    usec_to_sec(sample_interval_usec));
        }
 
-       if (!profile_setup(True)) {
+       if (!profile_setup(NULL, True)) {
                fprintf(stderr,"Failed to initialise profile memory\n");
                return False;
        }