Message ID | 0850d49cb6b808a334528ea9a239f8bdb0d5efca.1455192968.git.mjt@msgid.tls.msk.ru (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/qemu-char.c b/qemu-char.c index 2b2c56b..1b7d5da 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -1796,12 +1796,12 @@ static int pp_ioctl(CharDriverState *chr, int cmd, void *arg) } static CharDriverState *qemu_chr_open_pp_fd(int fd, - ChardevBackend *backend, + ChardevCommon *backend, Error **errp) { CharDriverState *chr; - chr = qemu_chr_alloc(common, errp); + chr = qemu_chr_alloc(backend, errp); if (!chr) { return NULL; }