ndb/dns: fix format print warning for procsetname(), cleanup

This commit is contained in:
cinap_lenrek 2018-10-09 06:08:48 +02:00
parent 45e71cb728
commit 08292c8f1f
4 changed files with 1 additions and 4 deletions

View file

@ -423,7 +423,6 @@ extern vlong nowns;
extern Area *owned;
extern int sendnotifies;
extern ulong target;
extern int testing; /* test cache whenever removing a DN */
extern char *trace;
extern int traceactivity;
extern char *zonerefreshprogram;

View file

@ -23,7 +23,6 @@ char mntpt[Maxpath];
int needrefresh;
ulong now;
vlong nowns;
int testing;
char *trace;
int traceactivity;
char *zonerefreshprogram;

View file

@ -14,7 +14,6 @@ char mntpt[Maxpath];
int needrefresh = 0;
ulong now = 0;
vlong nowns = 0;
int testing = 0;
int traceactivity = 0;
char *zonerefreshprogram;

View file

@ -171,7 +171,7 @@ restart:
/* loop on requests */
for(;; putactivity(0)){
procsetname("served %d udp; %d alarms",
procsetname("served %lud udp; %lud alarms",
stats.qrecvdudp, stats.alarms);
memset(&repmsg, 0, sizeof repmsg);
memset(&reqmsg, 0, sizeof reqmsg);