summaryrefslogtreecommitdiff
path: root/src/shared/logs-show.c
diff options
context:
space:
mode:
authorShawn Landden <shawnlandden@gmail.com>2013-08-21 18:20:55 -0700
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-22 00:52:14 -0400
commit2a0e0692565f0435657c93498e09cbb2d3517152 (patch)
treed5fb3d6352aed75b11b2e38dc65486016ff88357 /src/shared/logs-show.c
parent67c15b9a7ac016ac5c9b885756b2eaa7f44a0509 (diff)
remove hasprefix(), use startswith()
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r--src/shared/logs-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index f0236eeae5..87633e7816 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -536,7 +536,7 @@ static int output_export(
/* We already printed the boot id, from the data in
* the header, hence let's suppress it here */
if (length >= 9 &&
- hasprefix(data, "_BOOT_ID="))
+ startswith(data, "_BOOT_ID="))
continue;
if (!utf8_is_printable(data, length)) {