diff options
Diffstat (limited to 'test/printf.lua')
| -rw-r--r-- | test/printf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/printf.lua b/test/printf.lua index 66dfda65..58c63ff5 100644 --- a/test/printf.lua +++ b/test/printf.lua @@ -1,7 +1,7 @@ -- an implementation of printf function printf(...) - io.write(string.format(unpack(arg))) + io.write(string.format(...)) end printf("Hello %s from %s on %s\n",os.getenv"USER" or "there",_VERSION,os.date()) |
