Commit 86e2e7e2 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

print load: Initialize to empty string, not null pointer

parent c264d6bb
......@@ -120,7 +120,7 @@ void print_load(uint64_t t, int fd, struct print_load_s *print_state)
int i;
uint64_t curr_time_us;
uint64_t idle_time_us;
char *clear_line = '\0';
char *clear_line = "";
/* print system information */
if (fd == 1) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment