kernel: Fix a typo

This commit is contained in:
Xi Ruoyao 2023-08-01 09:20:08 +08:00
parent 57499d5909
commit 3d99820133
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -277,7 +277,7 @@ for i0, val, i1, title, arrow, key, menu, comment in r:
comment = [comment]
if comment:
comment = '\n'.join([' ' * i0 + '# ' + line for line in comment])
buf += escape(comment) + ':'
buf += [escape(comment) + ':']
if not menu and buf:
buf += ['']