Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
cdc4c998
Commit
cdc4c998
authored
Aug 11, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code: Fix spaced indentation where found
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
9efd12f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
parasite.c
parasite.c
+2
-2
proc_parse.c
proc_parse.c
+4
-4
rbtree.c
rbtree.c
+1
-1
No files found.
parasite.c
View file @
cdc4c998
...
...
@@ -40,11 +40,11 @@ static int brk_init(void)
/*
* Map 10 MB. Hope this will be enough for unix skb's...
*/
ret
=
sys_mmap
(
NULL
,
MAX_HEAP_SIZE
,
ret
=
sys_mmap
(
NULL
,
MAX_HEAP_SIZE
,
PROT_READ
|
PROT_WRITE
,
MAP_PRIVATE
|
MAP_ANONYMOUS
,
-
1
,
0
);
if
(
ret
<
0
)
return
-
ENOMEM
;
return
-
ENOMEM
;
brk_start
=
brk_tail
=
(
void
*
)
ret
;
brk_end
=
brk_start
+
MAX_HEAP_SIZE
;
...
...
proc_parse.c
View file @
cdc4c998
...
...
@@ -685,10 +685,10 @@ err:
static
char
nybble
(
const
char
n
)
{
if
(
n
>=
'0'
&&
n
<=
'9'
)
return
n
-
'0'
;
else
if
(
n
>=
'A'
&&
n
<=
'F'
)
return
n
-
(
'A'
-
10
);
else
if
(
n
>=
'a'
&&
n
<=
'f'
)
return
n
-
(
'a'
-
10
);
return
0
;
if
(
n
>=
'0'
&&
n
<=
'9'
)
return
n
-
'0'
;
else
if
(
n
>=
'A'
&&
n
<=
'F'
)
return
n
-
(
'A'
-
10
);
else
if
(
n
>=
'a'
&&
n
<=
'f'
)
return
n
-
(
'a'
-
10
);
return
0
;
}
static
void
parse_fhandle_encoded
(
char
*
tok
,
FhEntry
*
fh
)
...
...
rbtree.c
View file @
cdc4c998
...
...
@@ -235,7 +235,7 @@ void rb_erase(struct rb_node *node, struct rb_root *root)
}
else
root
->
rb_node
=
child
;
color:
color:
if
(
color
==
RB_BLACK
)
__rb_erase_color
(
child
,
parent
,
root
);
}
...
...
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