summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b594ee2)
nfsstat.c: In function 'print_callstats':
nfsstat.c:797: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:801: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:802: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:805: warning: comparison between signed and unsigned integer
expressions
nfsstat.c: In function 'print_callstats_list':
nfsstat.c:821: warning: comparison between signed and unsigned integer
expressions
nfsstat.c:828: warning: comparison between signed and unsigned integer
expressions
nfsstat.c: In function 'unpause':
nfsstat.c:1111: warning: unused parameter 'sig'
Signed-off-by: Steve Dickson <steved@redhat.com>
{
unsigned long long total;
unsigned long long pct;
{
unsigned long long total;
unsigned long long pct;
fputs(hdr, stdout);
for (i = 0, total = 0; i < nr; i++)
fputs(hdr, stdout);
for (i = 0, total = 0; i < nr; i++)
unsigned int *callinfo, unsigned int nr)
{
unsigned long long calltotal;
unsigned int *callinfo, unsigned int nr)
{
unsigned long long calltotal;
for (i = 0, calltotal = 0; i < nr; i++) {
calltotal += callinfo[i];
for (i = 0, calltotal = 0; i < nr; i++) {
calltotal += callinfo[i];
time_diff = difftime(endtime, starttime);
minutes = time_diff / 60;
seconds = (int)time_diff % 60;
time_diff = difftime(endtime, starttime);
minutes = time_diff / 60;
seconds = (int)time_diff % 60;
- printf("Signal received; displaying (only) statistics gathered over the last %d minutes, %d seconds:\n\n", minutes, seconds);
+ printf("Signal %d received; displaying (only) statistics gathered over the last %d minutes, %d seconds:\n\n", sig, minutes, seconds);