Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c1a46db9
Commit
c1a46db9
authored
Oct 28, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix printf format to use unsigned integers (PVS-Studio).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
edea5fc3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nt.c
dlls/ntdll/nt.c
+3
-3
No files found.
dlls/ntdll/nt.c
View file @
c1a46db9
...
...
@@ -1307,9 +1307,9 @@ static inline BOOL logical_proc_info_add_numa_node(SYSTEM_LOGICAL_PROCESSOR_INFO
static
NTSTATUS
create_logical_proc_info
(
SYSTEM_LOGICAL_PROCESSOR_INFORMATION
**
data
,
DWORD
*
max_len
)
{
static
const
char
core_info
[]
=
"/sys/devices/system/cpu/cpu%
d
/%s"
;
static
const
char
cache_info
[]
=
"/sys/devices/system/cpu/cpu%
d/cache/index%d
/%s"
;
static
const
char
numa_info
[]
=
"/sys/devices/system/node/node%
d
/cpumap"
;
static
const
char
core_info
[]
=
"/sys/devices/system/cpu/cpu%
u
/%s"
;
static
const
char
cache_info
[]
=
"/sys/devices/system/cpu/cpu%
u/cache/index%u
/%s"
;
static
const
char
numa_info
[]
=
"/sys/devices/system/node/node%
u
/cpumap"
;
FILE
*
fcpu_list
,
*
fnuma_list
,
*
f
;
DWORD
len
=
0
,
beg
,
end
,
i
,
j
,
r
;
...
...
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