Skip to content

Commit efc6835

Browse files
authored
Merge pull request #350 from cuiweixie/bugfix/output
[linux] Fix missing parenthesis in lstat error message format
2 parents 2956122 + d873b32 commit efc6835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dialects/linux/dproc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1230,7 +1230,7 @@ static int process_id(struct lsof_context *ctx, /* context */
12301230
enss = errno;
12311231
}
12321232
if (!ls && !Fwarn) {
1233-
(void)snpf(nmabuf, sizeof(nmabuf), "lstat: %s)",
1233+
(void)snpf(nmabuf, sizeof(nmabuf), "(lstat: %s)",
12341234
strerror(enls));
12351235
nmabuf[sizeof(nmabuf) - 1] = '\0';
12361236
(void)add_nma(ctx, nmabuf, strlen(nmabuf));

0 commit comments

Comments
 (0)