diff --git a/savevm.c b/savevm.c index a6e774b4d0..15477e9d82 100644 --- a/savevm.c +++ b/savevm.c @@ -356,7 +356,7 @@ QEMUFile *qemu_fopen(const char *filename, const char *mode) if (mode == NULL || (mode[0] != 'r' && mode[0] != 'w') || mode[1] != 'b' || mode[2] != 0) { - fprintf(stderr, "qemu_fdopen: Argument validity check failed\n"); + fprintf(stderr, "qemu_fopen: Argument validity check failed\n"); return NULL; }