Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
4030d7a9
Commit
4030d7a9
authored
Sep 24, 2010
by
Lennart Poettering
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readahead: take file system root on command line
parent
c1480dae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/readahead-collect.c
src/readahead-collect.c
+2
-1
src/readahead-replay.c
src/readahead-replay.c
+2
-1
No files found.
src/readahead-collect.c
View file @
4030d7a9
...
...
@@ -437,11 +437,12 @@ finish:
}
int
main
(
int
argc
,
char
*
argv
[])
{
log_set_target
(
LOG_TARGET_SYSLOG_OR_KMSG
);
log_parse_environment
();
log_open
();
if
(
collect
(
"/"
)
<
0
)
if
(
collect
(
argc
>=
2
?
argv
[
1
]
:
"/"
)
<
0
)
return
1
;
return
0
;
...
...
src/readahead-replay.c
View file @
4030d7a9
...
...
@@ -201,11 +201,12 @@ finish:
}
int
main
(
int
argc
,
char
*
argv
[])
{
log_set_target
(
LOG_TARGET_SYSLOG_OR_KMSG
);
log_parse_environment
();
log_open
();
if
(
replay
(
"/"
)
<
0
)
if
(
replay
(
argc
>=
2
?
argv
[
1
]
:
"/"
)
<
0
)
return
1
;
return
0
;
...
...
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