projects
/
cc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56555f0
)
Adding filter to dmesg
author
Olav Bakke Svendsen
<mail@olavbs.no>
Tue, 10 Oct 2023 06:53:18 +0000
(08:53 +0200)
committer
Olav Bakke Svendsen
<mail@olavbs.no>
Tue, 10 Oct 2023 06:53:18 +0000
(08:53 +0200)
common/dmesg.lua
patch
|
blob
|
history
diff --git
a/common/dmesg.lua
b/common/dmesg.lua
index fe6dc93a6203e5a2cd62d1012ba777b82b2c9254..4bf6cb079c19f020ee05fda9f2a647d41ee150a1 100644
(file)
--- a/
common/dmesg.lua
+++ b/
common/dmesg.lua
@@
-1,5
+1,7
@@
-- dmesg.lua
-- Prints OS events
-while true do print(os.pullEvent()) end
-
+local args = {...}
+while true do
+ print(os.pullEvent(args[1]))
+end