From: Roland McGrath Date: Sat, 9 Mar 2002 21:43:06 +0000 (+0000) Subject: 2002-03-09 Roland McGrath X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5791b599f6338b0b143129c47ca76ebf6ca04eb;p=thirdparty%2Fglibc.git 2002-03-09 Roland McGrath * hurd/hurdsig.c (write_corefile): Fix swapped arguments to __dir_link. Reported by Jon Arney . --- diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 748d8406c1e..0432c9ce901 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -198,7 +198,7 @@ write_corefile (int signo, const struct hurd_signal_detail *detail) if (! err && file != MACH_PORT_NULL) /* The core dump into FILE succeeded, so now link it into the directory. */ - err = __dir_link (file, coredir, name, 1); + err = __dir_link (coredir, file, name, 1); __mach_port_deallocate (__mach_task_self (), file); __mach_port_deallocate (__mach_task_self (), coredir); return !err && file != MACH_PORT_NULL;