diff options
| author | Lua Team <team@lua.org> | 2004-12-30 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2004-12-30 12:00:00 +0000 |
| commit | e2493a40ee611d5a718fd2a81fe67e24c04c91a0 (patch) | |
| tree | 0dca96133b3cd52d262dfa2592ad076fc0ea7852 /test/printf.lua | |
| parent | 226f7859b5392b6680b7e703f9cc7f7f101fd365 (diff) | |
| download | lua-github-5.1-work4.tar.gz | |
Lua 5.1-work45.1-work4
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()) |
