Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0c9e1e87
Commit
0c9e1e87
authored
Aug 27, 2003
by
Randy Dunlap
Committed by
Stephen Hemminger
Aug 27, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPVS]: Fix printf format strings.
parent
6847c1fb
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
net/ipv4/ipvs/ip_vs_conn.c
net/ipv4/ipvs/ip_vs_conn.c
+1
-1
net/ipv4/ipvs/ip_vs_dh.c
net/ipv4/ipvs/ip_vs_dh.c
+2
-2
net/ipv4/ipvs/ip_vs_lblc.c
net/ipv4/ipvs/ip_vs_lblc.c
+2
-2
net/ipv4/ipvs/ip_vs_lblcr.c
net/ipv4/ipvs/ip_vs_lblcr.c
+2
-2
net/ipv4/ipvs/ip_vs_sh.c
net/ipv4/ipvs/ip_vs_sh.c
+2
-2
net/ipv4/ipvs/ip_vs_sync.c
net/ipv4/ipvs/ip_vs_sync.c
+1
-1
No files found.
net/ipv4/ipvs/ip_vs_conn.c
View file @
0c9e1e87
...
...
@@ -837,7 +837,7 @@ int ip_vs_conn_init(void)
"(size=%d, memory=%ldKbytes)
\n
"
,
IP_VS_CONN_TAB_SIZE
,
(
long
)(
IP_VS_CONN_TAB_SIZE
*
sizeof
(
struct
list_head
))
/
1024
);
IP_VS_DBG
(
0
,
"Each connection entry needs %d bytes at least
\n
"
,
IP_VS_DBG
(
0
,
"Each connection entry needs %
Z
d bytes at least
\n
"
,
sizeof
(
struct
ip_vs_conn
));
for
(
idx
=
0
;
idx
<
IP_VS_CONN_TAB_SIZE
;
idx
++
)
{
...
...
net/ipv4/ipvs/ip_vs_dh.c
View file @
0c9e1e87
...
...
@@ -147,7 +147,7 @@ static int ip_vs_dh_init_svc(struct ip_vs_service *svc)
return
-
ENOMEM
;
}
svc
->
sched_data
=
tbl
;
IP_VS_DBG
(
6
,
"DH hash table (memory=%dbytes) allocated for "
IP_VS_DBG
(
6
,
"DH hash table (memory=%
Z
dbytes) allocated for "
"current service
\n
"
,
sizeof
(
struct
ip_vs_dh_bucket
)
*
IP_VS_DH_TAB_SIZE
);
...
...
@@ -167,7 +167,7 @@ static int ip_vs_dh_done_svc(struct ip_vs_service *svc)
/* release the table itself */
kfree
(
svc
->
sched_data
);
IP_VS_DBG
(
6
,
"DH hash table (memory=%dbytes) released
\n
"
,
IP_VS_DBG
(
6
,
"DH hash table (memory=%
Z
dbytes) released
\n
"
,
sizeof
(
struct
ip_vs_dh_bucket
)
*
IP_VS_DH_TAB_SIZE
);
return
0
;
...
...
net/ipv4/ipvs/ip_vs_lblc.c
View file @
0c9e1e87
...
...
@@ -396,7 +396,7 @@ static int ip_vs_lblc_init_svc(struct ip_vs_service *svc)
return
-
ENOMEM
;
}
svc
->
sched_data
=
tbl
;
IP_VS_DBG
(
6
,
"LBLC hash table (memory=%dbytes) allocated for "
IP_VS_DBG
(
6
,
"LBLC hash table (memory=%
Z
dbytes) allocated for "
"current service
\n
"
,
sizeof
(
struct
ip_vs_lblc_table
));
...
...
@@ -436,7 +436,7 @@ static int ip_vs_lblc_done_svc(struct ip_vs_service *svc)
/* release the table itself */
kfree
(
svc
->
sched_data
);
IP_VS_DBG
(
6
,
"LBLC hash table (memory=%dbytes) released
\n
"
,
IP_VS_DBG
(
6
,
"LBLC hash table (memory=%
Z
dbytes) released
\n
"
,
sizeof
(
struct
ip_vs_lblc_table
));
return
0
;
...
...
net/ipv4/ipvs/ip_vs_lblcr.c
View file @
0c9e1e87
...
...
@@ -649,7 +649,7 @@ static int ip_vs_lblcr_init_svc(struct ip_vs_service *svc)
return
-
ENOMEM
;
}
svc
->
sched_data
=
tbl
;
IP_VS_DBG
(
6
,
"LBLCR hash table (memory=%dbytes) allocated for "
IP_VS_DBG
(
6
,
"LBLCR hash table (memory=%
Z
dbytes) allocated for "
"current service
\n
"
,
sizeof
(
struct
ip_vs_lblcr_table
));
...
...
@@ -692,7 +692,7 @@ static int ip_vs_lblcr_done_svc(struct ip_vs_service *svc)
/* release the table itself */
kfree
(
svc
->
sched_data
);
IP_VS_DBG
(
6
,
"LBLCR hash table (memory=%dbytes) released
\n
"
,
IP_VS_DBG
(
6
,
"LBLCR hash table (memory=%
Z
dbytes) released
\n
"
,
sizeof
(
struct
ip_vs_lblcr_table
));
return
0
;
...
...
net/ipv4/ipvs/ip_vs_sh.c
View file @
0c9e1e87
...
...
@@ -144,7 +144,7 @@ static int ip_vs_sh_init_svc(struct ip_vs_service *svc)
return
-
ENOMEM
;
}
svc
->
sched_data
=
tbl
;
IP_VS_DBG
(
6
,
"SH hash table (memory=%dbytes) allocated for "
IP_VS_DBG
(
6
,
"SH hash table (memory=%
Z
dbytes) allocated for "
"current service
\n
"
,
sizeof
(
struct
ip_vs_sh_bucket
)
*
IP_VS_SH_TAB_SIZE
);
...
...
@@ -164,7 +164,7 @@ static int ip_vs_sh_done_svc(struct ip_vs_service *svc)
/* release the table itself */
kfree
(
svc
->
sched_data
);
IP_VS_DBG
(
6
,
"SH hash table (memory=%dbytes) released
\n
"
,
IP_VS_DBG
(
6
,
"SH hash table (memory=%
Z
dbytes) released
\n
"
,
sizeof
(
struct
ip_vs_sh_bucket
)
*
IP_VS_SH_TAB_SIZE
);
return
0
;
...
...
net/ipv4/ipvs/ip_vs_sync.c
View file @
0c9e1e87
...
...
@@ -851,7 +851,7 @@ int start_sync_thread(int state, char *mcast_ifn, __u8 syncid)
return
-
EEXIST
;
IP_VS_DBG
(
7
,
"%s: pid %d
\n
"
,
__FUNCTION__
,
current
->
pid
);
IP_VS_DBG
(
7
,
"Each ip_vs_sync_conn entry need %d bytes
\n
"
,
IP_VS_DBG
(
7
,
"Each ip_vs_sync_conn entry need %
Z
d bytes
\n
"
,
sizeof
(
struct
ip_vs_sync_conn
));
ip_vs_sync_state
|=
state
;
...
...
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