diff options
author | 2016-02-04 08:31:26 +0000 | |
---|---|---|
committer | 2016-02-04 08:31:26 +0000 | |
commit | 2ad5ec6f94976ceede0d6ad7245a15ccdf1c97ad (patch) | |
tree | e605469e3d19d30994d5a40fca87e3f1ab890fb5 /sbin/bioctl/bioctl.c | |
parent | If the ROM size is 0, we won't be able to read the video BIOS from it. (diff) | |
download | wireguard-openbsd-2ad5ec6f94976ceede0d6ad7245a15ccdf1c97ad.tar.xz wireguard-openbsd-2ad5ec6f94976ceede0d6ad7245a15ccdf1c97ad.zip |
Fix an unitialized variable; pointed out by jsg@.
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r-- | sbin/bioctl/bioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c index b85a25a3624..09e6df8fff0 100644 --- a/sbin/bioctl/bioctl.c +++ b/sbin/bioctl/bioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bioctl.c,v 1.129 2015/07/18 23:23:20 halex Exp $ */ +/* $OpenBSD: bioctl.c,v 1.130 2016/02/04 08:31:26 uebayasi Exp $ */ /* * Copyright (c) 2004, 2005 Marco Peereboom @@ -1234,7 +1234,7 @@ bio_patrol(char *arg) mode = "disabled"; break; default: - status = "unknown"; + mode = "unknown"; break; } switch (bp.bp_status) { |