gdb/testsuite/
[binutils-gdb.git] / gdb / fbsd-nat.c
index d150b1e04bc3680a82a413b9daeef2319a8f71bc..d499864904eef673654652e3263cb595ec1d8cbe 100644 (file)
@@ -208,7 +208,8 @@ fbsd_make_corefile_notes (bfd *obfd, int *note_size)
       char *psargs = xstrdup (fname);
 
       if (get_inferior_args ())
-       psargs = reconcat (psargs, psargs, " ", get_inferior_args (), NULL);
+       psargs = reconcat (psargs, psargs, " ", get_inferior_args (),
+                          (char *) NULL);
 
       note_data = elfcore_write_prpsinfo (obfd, note_data, note_size,
                                          fname, psargs);