summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/querycmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/querycmd.c b/src/querycmd.c
index 227f83479..f88cec1d9 100644
--- a/src/querycmd.c
+++ b/src/querycmd.c
@@ -622,7 +622,7 @@ control_path(const char *const *argv)
pkg = pkg_db_find(pkg_name);
if (pkg->status == stat_notinstalled)
- badusage(_("Package `%s' is not installed.\n"), pkg->name);
+ ohshit(_("Package `%s' is not installed.\n"), pkg->name);
if (control_file)
control_path_file(pkg, control_file);