diff options
author | Mark Murray <markm@FreeBSD.org> | 2002-10-23 14:18:07 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2002-10-23 14:18:07 +0000 |
commit | d69d15193c1a720ffa8269058ff216dccea734c5 (patch) | |
tree | b1203308ef2b90cb5132ff12865e836ca32e84df /lib/libc/gen/getbsize.c | |
parent | 06a93bac4f22e11dc340c52aa34ee4fe61605168 (diff) | |
download | src-d69d15193c1a720ffa8269058ff216dccea734c5.tar.gz src-d69d15193c1a720ffa8269058ff216dccea734c5.zip |
Make the first argument of getbsize a size_t* instead of an int*, as this is what the quantity actually is. Fix an easy const while I'm here.
Notes
Notes:
svn path=/head/; revision=105797
Diffstat (limited to 'lib/libc/gen/getbsize.c')
-rw-r--r-- | lib/libc/gen/getbsize.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/getbsize.c b/lib/libc/gen/getbsize.c index b50b14e90008..11e5ef751b6a 100644 --- a/lib/libc/gen/getbsize.c +++ b/lib/libc/gen/getbsize.c @@ -44,12 +44,13 @@ __FBSDID("$FreeBSD$"); char * getbsize(headerlenp, blocksizep) - int *headerlenp; + size_t *headerlenp; long *blocksizep; { static char header[20]; long n, max, mul, blocksize; - char *ep, *p, *form; + char *ep, *p; + const char *form; #define KB (1024L) #define MB (1024L * 1024L) |