summaryrefslogtreecommitdiff
path: root/Query.c
diff options
context:
space:
mode:
Diffstat (limited to 'Query.c')
-rw-r--r--Query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Query.c b/Query.c
index 0b15e286..b9c209f7 100644
--- a/Query.c
+++ b/Query.c
@@ -47,7 +47,7 @@ int Query(char *dev)
char *activity;
if (fd < 0){
- fprintf(stderr, Name ": cannot open %s: %s\n",
+ pr_err("cannot open %s: %s\n",
dev, strerror(errno));
return 1;
}