]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/target.c
Add target_ops argument to to_fileio_unlink
[thirdparty/binutils-gdb.git] / gdb / target.c
index 8767b572391c5a989909f2793fca2d4ca405fc78..2c4b6b658c3d3078f3382d7bb5618cb8ac960484 100644 (file)
@@ -3483,7 +3483,7 @@ target_fileio_unlink (const char *filename, int *target_errno)
     {
       if (t->to_fileio_unlink != NULL)
        {
-         int ret = t->to_fileio_unlink (filename, target_errno);
+         int ret = t->to_fileio_unlink (t, filename, target_errno);
 
          if (targetdebug)
            fprintf_unfiltered (gdb_stdlog,