Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
0af979e3
Commit
0af979e3
authored
Dec 14, 2015
by
Federico G. Schwindt
Committed by
Lasse Karstensen
Jan 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix format string warnings
parent
d25080d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
varnishstat_curses.c
bin/varnishstat/varnishstat_curses.c
+3
-3
No files found.
bin/varnishstat/varnishstat_curses.c
View file @
0af979e3
...
...
@@ -540,7 +540,7 @@ static void
print_duration
(
WINDOW
*
w
,
time_t
t
)
{
wprintw
(
w
,
"%4
d+%02d:%02d:%02d
"
,
wprintw
(
w
,
"%4
lu+%02lu:%02lu:%02lu
"
,
t
/
86400
,
(
t
%
86400
)
/
3600
,
(
t
%
3600
)
/
60
,
t
%
60
);
}
...
...
@@ -790,8 +790,8 @@ draw_line_bitmap(WINDOW *w, int y, int x, int X, struct pt *pt)
case
COL_VAL
:
if
(
X
-
x
<
COLW
)
return
;
mvwprintw
(
w
,
y
,
x
,
" %
0
10.10jx"
,
(
pt
->
cur
>>
24
)
&
0xffffffffffLL
);
mvwprintw
(
w
,
y
,
x
,
" %10.10jx"
,
(
uintmax_t
)((
pt
->
cur
>>
24
)
&
0xffffffffffLL
)
);
x
+=
COLW
;
break
;
case
COL_MAP
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment