summaryrefslogtreecommitdiff
path: root/src/config_fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config_fs.c')
-rw-r--r--src/config_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config_fs.c b/src/config_fs.c
index 1d87a70..fdaa85a 100644
--- a/src/config_fs.c
+++ b/src/config_fs.c
@@ -58,7 +58,7 @@ int config_fs_load(struct node* n) {
}
if(strcmp(n->display, "bar") == 0) {
- print_bar(10, ((long double) used) / (long double)fs.f_blocks, n->text);
+ print_bar(n->width, ((long double) used) / (long double)fs.f_blocks, n->text);
} else {
sprintf(n->text, "%d%%", percent);
}

Generated by cgit