summaryrefslogtreecommitdiff
path: root/net/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dump.c')
-rw-r--r--net/dump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dump.c b/net/dump.c
index 9d3a09e334..214e88a768 100644
--- a/net/dump.c
+++ b/net/dump.c
@@ -146,8 +146,9 @@ static int net_dump_init(NetClientState *peer, const char *device,
}
int net_init_dump(const NetClientOptions *opts, const char *name,
- NetClientState *peer)
+ NetClientState *peer, Error **errp)
{
+ /* FIXME error_setg(errp, ...) on failure */
int len;
const char *file;
char def_file[128];