From 2648e7fa9b7200f2fe38e76504a5eded38ab49da Mon Sep 17 00:00:00 2001 From: Daniel Dickman Date: Wed, 16 Sep 2015 04:18:53 +0000 Subject: Fix uninitialized variable found by Maxime Villard's Brainy Code Scanner. ok uebayasi@, mlarkin@ --- sys/arch/i386/i386/bios.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index 8430952ac55..af08a893286 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.112 2015/09/03 03:13:56 yasuoka Exp $ */ +/* $OpenBSD: bios.c,v 1.113 2015/09/16 04:18:52 daniel Exp $ */ /* * Copyright (c) 1997-2001 Michael Shalayeff @@ -480,10 +480,10 @@ biosattach(struct device *parent, struct device *self, void *aux) va += len - 512; } + if (str) + printf("\n"); } - if (str) - printf("\n"); } void -- cgit v1.2.3