diff options
author | DJ Delorie <dj@redhat.com> | 2020-03-17 14:03:43 -0400 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2020-03-17 14:03:43 -0400 |
commit | cbd156990489568eb8c1b97ace3ad24fc784e049 (patch) | |
tree | 0100f839f29986e77ede71d0d55d033861a0d722 /nscd | |
parent | 28b4928b1b1735bcacafb2f2e6a928020154a09b (diff) | |
download | glibc-cbd156990489568eb8c1b97ace3ad24fc784e049.tar.gz glibc-cbd156990489568eb8c1b97ace3ad24fc784e049.tar.xz glibc-cbd156990489568eb8c1b97ace3ad24fc784e049.zip |
nscd/cachedumper.c : fix whitespace
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/cachedumper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nscd/cachedumper.c b/nscd/cachedumper.c index 4c314e0099..9b47d5e670 100644 --- a/nscd/cachedumper.c +++ b/nscd/cachedumper.c @@ -33,7 +33,7 @@ static void *the_cache; -#define NO_REF ((ref_t)-1) +#define NO_REF ((ref_t) -1) /* Given a chunk of raw data CP of length LEN, print it in a hopefully user-readable format, including colorizing non-readable characters. @@ -82,10 +82,10 @@ nscd_print_cache (const char *name) /* Shortcut for "print the cache offset (address) of X in the cache". */ -#define A(x) (int)((char *)&(x)-(char *)the_cache) +#define A(x) (int) ((char *) &(x) - (char *) the_cache) /* Common code for "print field DPS->F, it's offset, and contents". */ -#define DPS(f) printf("%08x: %24s : %10d %08x\n", A (dps->f), #f, (int)dps->f, (int)dps->f); +#define DPS(f) printf("%08x: %24s : %10d %08x\n", A (dps->f), #f, (int) dps->f, (int) dps->f); if (debug_level > 0) { @@ -144,7 +144,7 @@ nscd_print_cache (const char *name) if (debug_level > 0) { /* Common code for printing fields in struct DATAHEAD DH. */ -#define DH(f) printf ("%08x; %24s : %10d %08x\n", A (dh->f), #f, (int)dh->f, (int)dh->f); +#define DH(f) printf ("%08x; %24s : %10d %08x\n", A (dh->f), #f, (int) dh->f, (int) dh->f); DH (allocsize); DH (recsize); DH (timeout); |