Commit 396b52e2 authored by Andy Grover's avatar Andy Grover

ACPI: Express state of lid in words, not a number

parent 67df9af0
...@@ -146,7 +146,7 @@ static int acpi_button_state_seq_show(struct seq_file *seq, void *offset) ...@@ -146,7 +146,7 @@ static int acpi_button_state_seq_show(struct seq_file *seq, void *offset)
seq_printf(seq, "state: unsupported\n"); seq_printf(seq, "state: unsupported\n");
} }
else{ else{
seq_printf(seq, "state: %lu\n", state); seq_printf(seq, "state: %s\n", (state ? "open" : "closed"));
} }
return 0; return 0;
......
Markdown is supported
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