diff options
author | 2015-09-16 04:18:52 +0000 | |
---|---|---|
committer | 2015-09-16 04:18:52 +0000 | |
commit | 0bb666444c888437a86addc3fd3af0460fca1991 (patch) | |
tree | 39e16cdf881c3828bebfba5e8c3bbe14fbf5c9ac | |
parent | Zap RANDFILE. (diff) | |
download | wireguard-openbsd-0bb666444c888437a86addc3fd3af0460fca1991.tar.xz wireguard-openbsd-0bb666444c888437a86addc3fd3af0460fca1991.zip |
Fix uninitialized variable found by Maxime Villard's Brainy Code Scanner.
ok uebayasi@, mlarkin@
-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 |