diff options
author | 2001-02-23 02:52:37 +0000 | |
---|---|---|
committer | 2001-02-23 02:52:37 +0000 | |
commit | 60c6ecee5dc4cc07bd27839e27d6feb7a4d647e0 (patch) | |
tree | bd0259e35e9abdd363ae4cb6cfaf3bf01c87388c | |
parent | sort belongs in here too (diff) | |
download | wireguard-openbsd-60c6ecee5dc4cc07bd27839e27d6feb7a4d647e0.tar.xz wireguard-openbsd-60c6ecee5dc4cc07bd27839e27d6feb7a4d647e0.zip |
Avoid potential uninitialized variable
-rw-r--r-- | bin/df/df.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/df/df.c b/bin/df/df.c index 4fa2e391682..c3e7e829c73 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -1,4 +1,4 @@ -/* $OpenBSD: df.c,v 1.27 2000/10/18 20:37:42 mickey Exp $ */ +/* $OpenBSD: df.c,v 1.28 2001/02/23 02:52:37 pjanzen Exp $ */ /* $NetBSD: df.c,v 1.21.2.1 1995/11/01 00:06:11 jtc Exp $ */ /* @@ -49,7 +49,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)df.c 8.7 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: df.c,v 1.27 2000/10/18 20:37:42 mickey Exp $"; +static char rcsid[] = "$OpenBSD: df.c,v 1.28 2001/02/23 02:52:37 pjanzen Exp $"; #endif #endif /* not lint */ @@ -320,7 +320,7 @@ unit_adjust(val) } else if (abval < 1125899906842624ULL) { unit = TERA; *val /= 1099511627776ULL; - } else if (abval < 1152921504606846976ULL) { + } else /* if (abval < 1152921504606846976ULL) */ { unit = PETA; *val /= 1125899906842624ULL; } |