version 1.1.1.3, 2021/03/17 00:56:46
|
version 1.1.1.4, 2023/09/27 11:02:07
|
Line 1
|
Line 1
|
/* dnsmasq is Copyright (c) 2000-2021 Simon Kelley | /* dnsmasq is Copyright (c) 2000-2022 Simon Kelley |
|
|
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
Line 52 void blockdata_init(void)
|
Line 52 void blockdata_init(void)
|
|
|
void blockdata_report(void) |
void blockdata_report(void) |
{ |
{ |
my_syslog(LOG_INFO, _("pool memory in use %u, max %u, allocated %u"), | my_syslog(LOG_INFO, _("pool memory in use %zu, max %zu, allocated %zu"), |
blockdata_count * sizeof(struct blockdata), |
blockdata_count * sizeof(struct blockdata), |
blockdata_hwm * sizeof(struct blockdata), |
blockdata_hwm * sizeof(struct blockdata), |
blockdata_alloced * sizeof(struct blockdata)); |
blockdata_alloced * sizeof(struct blockdata)); |
Line 174 struct blockdata *blockdata_read(int fd, size_t len)
|
Line 174 struct blockdata *blockdata_read(int fd, size_t len)
|
{ |
{ |
return blockdata_alloc_real(fd, NULL, len); |
return blockdata_alloc_real(fd, NULL, len); |
} |
} |
|
|