Remove old usages of %n

This commit is contained in:
Justine Tunney 2024-07-29 01:39:36 -07:00
parent d40acc60b1
commit 1092d9b7e8
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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);
}