mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
don't use %Lu here, too
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1067 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
42a62c0178
commit
4766f33456
@ -5363,7 +5363,7 @@ static void generate_text_internal(char *p, int p_max_size,
|
||||
}
|
||||
OBJ(memperc) {
|
||||
if (cur->memmax) {
|
||||
spaced_print(p, p_max_size, "%*Lu", 4, "memperc",
|
||||
spaced_print(p, p_max_size, "%*llu", 4, "memperc",
|
||||
pad_percents, cur->mem * 100 / cur->memmax);
|
||||
}
|
||||
}
|
||||
@ -5446,7 +5446,7 @@ static void generate_text_internal(char *p, int p_max_size,
|
||||
if (cur->swapmax == 0) {
|
||||
strncpy(p, "No swap", p_max_size);
|
||||
} else {
|
||||
spaced_print(p, p_max_size, "%*Lu", 4, "swapperc",
|
||||
spaced_print(p, p_max_size, "%*llu", 4, "swapperc",
|
||||
pad_percents, cur->swap * 100 / cur->swapmax);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user