diff options
| author | christos <christos@NetBSD.org> | 1998-10-07 14:56:22 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1998-10-07 14:56:22 +0000 |
| commit | 2e885feacfe07851741fb7d335bf7bfdbcfea3b8 (patch) | |
| tree | b8c3db84d50463cbed5b0533a8d80c51cab7d5cc | |
| parent | c7b4cd5f5034acb31b5ad02a3c22644f84a23ed7 (diff) | |
PR/6247: Konrad Schroder: lfs_cleanerd overflows char register counting live
bytes
| -rw-r--r-- | libexec/lfs_cleanerd/cleanerd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/lfs_cleanerd/cleanerd.c b/libexec/lfs_cleanerd/cleanerd.c index 2c499652922..0776cbd3609 100644 --- a/libexec/lfs_cleanerd/cleanerd.c +++ b/libexec/lfs_cleanerd/cleanerd.c @@ -1,4 +1,4 @@ -/* $NetBSD: cleanerd.c,v 1.8 1998/09/11 21:21:29 pk Exp $ */ +/* $NetBSD: cleanerd.c,v 1.9 1998/10/07 14:56:22 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\ #if 0 static char sccsid[] = "@(#)cleanerd.c 8.5 (Berkeley) 6/10/95"; #else -__RCSID("$NetBSD: cleanerd.c,v 1.8 1998/09/11 21:21:29 pk Exp $"); +__RCSID("$NetBSD: cleanerd.c,v 1.9 1998/10/07 14:56:22 christos Exp $"); #endif #endif /* not lint */ @@ -75,7 +75,7 @@ struct cleaner_stats { struct seglist { int sl_id; /* segment number */ int sl_cost; /* cleaning cost */ - char sl_bytes; /* bytets in segment */ + int sl_bytes; /* bytes in segment */ }; struct tossstruct { |
