]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/edit.c
Add debug times, reduce size of two-pool-changer test
[bacula/bacula] / bacula / src / lib / edit.c
index 81cfe9f6d58c94f1d7da5985cdedfd1761c1749e..89768f5d941d6d0f38d8dec7d197734b6e7140dd 100644 (file)
@@ -14,8 +14,8 @@
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
    modify it under the terms of version two of the GNU General Public
-   License as published by the Free Software Foundation plus additions
-   that are listed in the file LICENSE.
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
 
    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -120,7 +120,7 @@ char *edit_uint64_with_suffix(uint64_t val, char *buf)
 {
   int commas = 0;
   char *c, mbuf[50];
-  char *suffix[] =
+  const char *suffix[] =
     { "", "K", "M", "G", "T", "P", "E", "Z", "Y", "FIX ME" };
   int suffixes = sizeof(suffix) / sizeof(*suffix);