diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-26 22:33:01 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-26 22:33:01 +0000 |
commit | 0d304e59e6b0cd2629b04198ce22e5c5eb35c20f (patch) | |
tree | 8825a958311d9b22897372694d09fd94d8ef2393 /sys/arch/i386/stand | |
parent | 5612d52f86475bee0dbc839a4d5999a54bf97699 (diff) |
we don't need that extra var (st)
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/libsa/biosdev.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/arch/i386/stand/libsa/biosdev.c b/sys/arch/i386/stand/libsa/biosdev.c index b81f1e9e2e9..4b0ab337154 100644 --- a/sys/arch/i386/stand/libsa/biosdev.c +++ b/sys/arch/i386/stand/libsa/biosdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biosdev.c,v 1.44 1997/10/25 02:07:08 weingart Exp $ */ +/* $OpenBSD: biosdev.c,v 1.45 1997/10/26 22:33:00 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -271,7 +271,7 @@ bios_getdisklabel(dev, label) { daddr_t off = LABELSECTOR; bios_diskinfo_t *bd; - char *st, *buf; + char *buf; struct dos_mbr mbr; int cyl, head, sect; int error, i; @@ -316,8 +316,7 @@ bios_getdisklabel(dev, label) return("failed to read disklabel"); /* Fill in disklabel */ - st = getdisklabel(buf, label); - return(st); + return (getdisklabel(buf, label)); } int |