diff options
Diffstat (limited to 'fish/edit.c')
-rw-r--r-- | fish/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/edit.c b/fish/edit.c index 3fc41fb1..a010057d 100644 --- a/fish/edit.c +++ b/fish/edit.c @@ -156,7 +156,7 @@ do_edit (const char *cmd, int argc, char *argv[]) } /* Write new content. */ - if (guestfs_write_file (g, argv[0], content_new, size) == -1) { + if (guestfs_write (g, argv[0], content_new, size) == -1) { free (content); free (content_new); return -1; |