summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasper <jasper@openbsd.org>2017-10-13 18:11:47 +0000
committerjasper <jasper@openbsd.org>2017-10-13 18:11:47 +0000
commit0938eda013fc8238b7285c27c4fcbd26d8720bb2 (patch)
treeea5146f100715ecd576d5fc911c22d58bc40f5f7
parentMove extraction of rootdisk information into the DONEPROFILE if-block. (diff)
downloadwireguard-openbsd-0938eda013fc8238b7285c27c4fcbd26d8720bb2.tar.xz
wireguard-openbsd-0938eda013fc8238b7285c27c4fcbd26d8720bb2.zip
return a missing return (was left out of previous)
-rw-r--r--sys/ddb/db_ctf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ddb/db_ctf.c b/sys/ddb/db_ctf.c
index 642d153e598..f4930521498 100644
--- a/sys/ddb/db_ctf.c
+++ b/sys/ddb/db_ctf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_ctf.c,v 1.23 2017/10/13 17:32:22 jasper Exp $ */
+/* $OpenBSD: db_ctf.c,v 1.24 2017/10/13 18:11:47 jasper Exp $ */
/*
* Copyright (c) 2016-2017 Martin Pieuchot
@@ -561,6 +561,7 @@ db_ctf_pprint_cmd(db_expr_t addr, int have_addr, db_expr_t count, char *modif)
if (!db_ctf.ctf_found) {
db_printf("No CTF data found\n");
db_flush_lex();
+ return;
}
/*