diff options
author | Daniel Dickman <daniel@cvs.openbsd.org> | 2015-09-16 04:18:53 +0000 |
---|---|---|
committer | Daniel Dickman <daniel@cvs.openbsd.org> | 2015-09-16 04:18:53 +0000 |
commit | 2648e7fa9b7200f2fe38e76504a5eded38ab49da (patch) | |
tree | 6bb6b520f6af7c164c6a9b5b1e87285084dd8817 /sys/arch | |
parent | ca205a35a641621e0d535269cec84d8a576db6e6 (diff) |
Fix uninitialized variable found by Maxime Villard's Brainy Code Scanner.
ok uebayasi@, mlarkin@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/bios.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 |