mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Remove old usages of %n
This commit is contained in:
parent
d40acc60b1
commit
1092d9b7e8
2 changed files with 2 additions and 2 deletions
2
third_party/lua/lrepl.c
vendored
2
third_party/lua/lrepl.c
vendored
|
@ -335,7 +335,7 @@ void lua_initrepl(lua_State *L) {
|
|||
prompt = get_prompt(L, 1);
|
||||
if ((g_historypath = linenoiseGetHistoryPath(lua_progname))) {
|
||||
if (linenoiseHistoryLoad(g_historypath) == -1) {
|
||||
fprintf(stderr, "%r%s: failed to load history: %m%n", g_historypath);
|
||||
fprintf(stderr, "%r%s: failed to load history: %m\n", g_historypath);
|
||||
free(g_historypath);
|
||||
g_historypath = 0;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ static void SetLimit(int resource, uint64_t soft, uint64_t hard) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
fprintf(stderr, "ERROR: SETRLIMIT(%s, %,ld, %,ld) FAILED %m%n",
|
||||
fprintf(stderr, "ERROR: SETRLIMIT(%s, %,ld, %,ld) FAILED %m\n",
|
||||
DescribeRlimitName(resource), soft, hard);
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue