summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsetje <none@none>2005-10-31 23:28:10 -0800
committersetje <none@none>2005-10-31 23:28:10 -0800
commitde6a15ee5bac749223cdd3f3d02367ab582243ff (patch)
treec7553fa16dc86f1a9d749954619415e90df66b7e
parent7c46fb7fef68117215a0c60a64149aaea1a38578 (diff)
downloadillumos-joyent-de6a15ee5bac749223cdd3f3d02367ab582243ff.tar.gz
6341645 global variable ('b') name clashes with hex digit on x86 mdb -k
-rw-r--r--usr/src/common/fs/ufsops.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr/src/common/fs/ufsops.c b/usr/src/common/fs/ufsops.c
index 1d7136a4a2..f440e85b1b 100644
--- a/usr/src/common/fs/ufsops.c
+++ b/usr/src/common/fs/ufsops.c
@@ -80,14 +80,6 @@ static void set_cache(int, void *, uint_t);
static void *get_cache(int);
static void free_cache();
-/* These are the pools of buffers, etc. */
-#define NBUFS (NIADDR+1)
-/* Compilers like to play with alignment, so force the issue here */
-static union {
- char *blk[NBUFS];
- daddr32_t *dummy;
-} b;
-daddr32_t blknos[NBUFS];
/*
* There is only 1 open (mounted) device at any given time.
@@ -227,6 +219,14 @@ sbmap(fileid_t *filep, daddr32_t bn)
daddr32_t *db;
devid_t *devp;
+ /* These are the pools of buffers, etc. */
+ /* Compilers like to play with alignment, so force the issue here */
+ static union {
+ char *blk[NIADDR + 1];
+ daddr32_t *dummy;
+ } b;
+ daddr32_t blknos[NIADDR + 1];
+
devp = filep->fi_devp;
inodep = filep->fi_inode;
db = inodep->i_db;