diff options
author | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-02-23 02:52:38 +0000 |
---|---|---|
committer | Paul Janzen <pjanzen@cvs.openbsd.org> | 2001-02-23 02:52:38 +0000 |
commit | 88fdc7db93ed09c32a72aa0986e3dacd96c1631b (patch) | |
tree | ba1621d9fa3dc023d5750d0f2dc87fdb6802fdac | |
parent | af927b706b295703b42c7748f844242a181d1166 (diff) |
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; } |