Some more GiB to GB conversion

This commit is contained in:
Andrea Mazzoleni 2015-03-29 23:18:30 +02:00
parent fb46313666
commit 36061561cc
6 changed files with 42 additions and 50 deletions

View file

@ -826,8 +826,8 @@ void state_config(struct snapraid_state* state, const char* path, const char* co
/* LCOV_EXCL_STOP */
}
/* convert to GiB */
state->autosave *= 1024 * 1024 * 1024;
/* convert to GB */
state->autosave *= GIGA;
} else if (tag[0] == 0) {
/* allow empty lines */
} else if (tag[0] == '#') {