We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efff9ee + 2829628 commit 04978e7Copy full SHA for 04978e7
main.c
@@ -48,7 +48,7 @@ static ssize_t kxo_state_show(struct device *dev,
48
char *buf)
49
{
50
read_lock(&attr_obj.lock);
51
- int ret = snprintf(buf, 6, "%c %c %c\n", attr_obj.display, attr_obj.resume,
+ int ret = snprintf(buf, 7, "%c %c %c\n", attr_obj.display, attr_obj.resume,
52
attr_obj.end);
53
read_unlock(&attr_obj.lock);
54
return ret;
0 commit comments