summaryrefslogtreecommitdiff
path: root/c-sources
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-01-11 14:32:42 +0000
committerWill Thompson <will@willthompson.co.uk>2012-01-12 11:13:00 +0000
commit026a97acbe1c7ad6a9b7c8ab542fc46a032c2aad (patch)
tree3bd1fea65ce18ad1f9528c7194ae3c59c4f68715 /c-sources
parentdf7db67006ba835818fceb5d3ca571fe571237fd (diff)
Improve error message when target file can't be opened
Diffstat (limited to 'c-sources')
-rw-r--r--c-sources/pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c-sources/pcap.c b/c-sources/pcap.c
index 2af3357..82f4ad5 100644
--- a/c-sources/pcap.c
+++ b/c-sources/pcap.c
@@ -403,7 +403,7 @@ initable_init (
if (priv->td.dumper == NULL)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- "Couldn't open pcap dump: %s", pcap_geterr (priv->p));
+ "Couldn't open target file %s", pcap_geterr (priv->p));
return FALSE;
}