OSDN Git Service

MIPS: c-r4k: Extend way_string array
[uclinux-h8/linux.git] / fs / coredump.c
index e52e006..c5ecde6 100644 (file)
@@ -140,7 +140,7 @@ static int cn_print_exe_file(struct core_name *cn)
                goto put_exe_file;
        }
 
-       path = d_path(&exe_file->f_path, pathbuf, PATH_MAX);
+       path = file_path(exe_file, pathbuf, PATH_MAX);
        if (IS_ERR(path)) {
                ret = PTR_ERR(path);
                goto free_buf;