Skip to content

Commit

Permalink
jevents: Handle empyt description
Browse files Browse the repository at this point in the history
Fixes #221
  • Loading branch information
Andi Kleen committed Nov 4, 2019
1 parent c0546b0 commit bb3c77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jevents/jevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static void fixdesc(char *s)
--e;
while (e >= s && isspace(*e))
--e;
if (*e == '.')
if (e >= s && *e == '.')
*e = 0;
}

Expand Down

0 comments on commit bb3c77e

Please sign in to comment.