summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
authorSergey Alekseev <varnie29a@mail.ru>2013-08-09 19:55:59 +0600
committerJames E Keenan <jkeenan@cpan.org>2013-08-10 14:59:09 +0200
commit0eccc83de27b0e9c303cf10ad2a289c59692fe76 (patch)
treea70d7b53bd61ccffc2c8cadf609b62d895473247 /malloc.c
parenta547fd219bacc248099bb2b7f606cc120cce2c71 (diff)
downloadperl-0eccc83de27b0e9c303cf10ad2a289c59692fe76.tar.gz
Function name typo in malloc.c
Error was also spotted by mauke. For: RT #119213
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/malloc.c b/malloc.c
index beaaa2f0e6..41d75da078 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1213,7 +1213,7 @@ cmp_pat_4bytes(unsigned char *s, size_t nbytes, const unsigned char *fill)
#endif
int
-S_ajust_size_and_find_bucket(size_t *nbytes_p)
+S_adjust_size_and_find_bucket(size_t *nbytes_p)
{
MEM_SIZE shiftr;
int bucket;
@@ -1273,7 +1273,7 @@ Perl_malloc(size_t nbytes)
croak("%s", "panic: malloc");
#endif
- bucket = S_ajust_size_and_find_bucket(&nbytes);
+ bucket = S_adjust_size_and_find_bucket(&nbytes);
MALLOC_LOCK;
/*
* If nothing in hash bucket right now,
@@ -2173,7 +2173,7 @@ Perl_malloced_size(void *p)
MEM_SIZE
Perl_malloc_good_size(size_t wanted)
{
- return BUCKET_SIZE_REAL(S_ajust_size_and_find_bucket(&wanted));
+ return BUCKET_SIZE_REAL(S_adjust_size_and_find_bucket(&wanted));
}
# ifdef BUCKETS_ROOT2