GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: fix formatting of PIDs · nodejs/node@4f8620e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • env.cc
    • util.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/env.cc‎

Copy file name to clipboardExpand all lines: src/env.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ void Environment::PrintSyncTrace() const {
306306
Local<v8::StackTrace> stack =
307307
StackTrace::CurrentStackTrace(isolate(), 10, StackTrace::kDetailed);
308308

309-
fprintf(stderr, "(node:%u) WARNING: Detected use of sync API\n",
309+
fprintf(stderr, "(node:%d) WARNING: Detected use of sync API\n",
310310
uv_os_getpid());
311311

312312
for (int i = 0; i < stack->GetFrameCount() - 1; i++) {
Collapse file

‎src/util.cc‎

Copy file name to clipboardExpand all lines: src/util.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ std::string GetHumanReadableProcessName() {
115115
void GetHumanReadableProcessName(char (*name)[1024]) {
116116
char title[1024] = "Node.js";
117117
uv_get_process_title(title, sizeof(title));
118-
snprintf(*name, sizeof(*name), "%s[%u]", title, uv_os_getpid());
118+
snprintf(*name, sizeof(*name), "%s[%d]", title, uv_os_getpid());
119119
}
120120

121121
} // namespace node

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.