overlay: Enable locale

Enabling locale allows us to use thousand separators and other such
human touches in the output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-06-24 17:01:21 +01:00
parent 453792c501
commit 44d444acaa

View File

@ -35,6 +35,7 @@
#include <signal.h>
#include <getopt.h>
#include <time.h>
#include <locale.h>
#include "overlay.h"
#include "chart.h"
@ -857,6 +858,7 @@ int main(int argc, char **argv)
int daemonize = 1, renice = 0;
int i;
setlocale(LC_ALL, "");
config_init(&config);
opterr = 0;