Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Chen Yisong
lxc
Commits
5e30dbea
Commit
5e30dbea
authored
Sep 19, 2008
by
dlezcano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos
parent
681799f9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
lxc.h
src/lxc/lxc.h
+1
-1
lxc_create.c
src/lxc/lxc_create.c
+1
-1
lxc_destroy.c
src/lxc/lxc_destroy.c
+1
-1
No files found.
src/lxc/lxc.h
View file @
5e30dbea
...
@@ -251,7 +251,7 @@ extern int lxc_cgroup_get_cpuset(const char *name, long *cpumask,
...
@@ -251,7 +251,7 @@ extern int lxc_cgroup_get_cpuset(const char *name, long *cpumask,
extern
int
lxc_cgroup_get_cpu_usage
(
const
char
*
name
,
long
long
*
usage
);
extern
int
lxc_cgroup_get_cpu_usage
(
const
char
*
name
,
long
long
*
usage
);
/*
/*
* Returns
a
the version number of the library
* Returns the version number of the library
*/
*/
extern
const
char
const
*
lxc_version
(
void
);
extern
const
char
const
*
lxc_version
(
void
);
...
...
src/lxc/lxc_create.c
View file @
5e30dbea
...
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
...
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
}
}
if
(
lxc_create
(
name
,
&
lxc_conf
))
{
if
(
lxc_create
(
name
,
&
lxc_conf
))
{
fprintf
(
stderr
,
"failed to create the container
%s
\n
"
,
name
);
fprintf
(
stderr
,
"failed to create the container
'%s'
\n
"
,
name
);
return
1
;
return
1
;
}
}
...
...
src/lxc/lxc_destroy.c
View file @
5e30dbea
...
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
...
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
usage
(
argv
[
0
]);
usage
(
argv
[
0
]);
if
(
lxc_destroy
(
name
))
{
if
(
lxc_destroy
(
name
))
{
fprintf
(
stderr
,
"failed to destroy
%s
\n
"
,
name
);
fprintf
(
stderr
,
"failed to destroy
'%s'
\n
"
,
name
);
return
1
;
return
1
;
}
}
...
...
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