Jelajahi Sumber

Issue #422: Corrected typo for unit GB

rogerniesten 7 tahun lalu
induk
melakukan
e8982f3f1c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      plugins/check_disk.c

+ 1 - 1
plugins/check_disk.c

@@ -576,7 +576,7 @@ process_arguments (int argc, char **argv)
         mult = (uintmax_t)1000 * 1000;
         units = strdup ("MB");
       } else if (! strcmp (optarg, "GB")) {
-        mult = (uintmax_t)1000 * 1000 * 100;
+        mult = (uintmax_t)1000 * 1000 * 1000;
         units = strdup ("GB");
       } else if (! strcmp (optarg, "TB")) {
         mult = (uintmax_t)1000 * 1000 * 1000 * 1000;