diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1318,7 +1318,7 @@ static void format_corename(char *corename, const char *pattern, long signr) | |||
1318 | case 'h': | 1318 | case 'h': |
1319 | down_read(&uts_sem); | 1319 | down_read(&uts_sem); |
1320 | rc = snprintf(out_ptr, out_end - out_ptr, | 1320 | rc = snprintf(out_ptr, out_end - out_ptr, |
1321 | "%s", system_utsname.nodename); | 1321 | "%s", utsname()->nodename); |
1322 | up_read(&uts_sem); | 1322 | up_read(&uts_sem); |
1323 | if (rc > out_end - out_ptr) | 1323 | if (rc > out_end - out_ptr) |
1324 | goto out; | 1324 | goto out; |