Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
faa5cc11
Commit
faa5cc11
authored
Oct 20, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error message.
parent
3e001c78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
babel.c
babel.c
+4
-1
No files found.
babel.c
View file @
faa5cc11
...
@@ -322,7 +322,10 @@ main(int argc, char **argv)
...
@@ -322,7 +322,10 @@ main(int argc, char **argv)
pfd
=
open
(
pidfile
,
O_WRONLY
|
O_CREAT
|
O_EXCL
,
0644
);
pfd
=
open
(
pidfile
,
O_WRONLY
|
O_CREAT
|
O_EXCL
,
0644
);
if
(
pfd
<
0
)
{
if
(
pfd
<
0
)
{
perror
(
"creat(pidfile)"
);
char
buf
[
40
];
snprintf
(
buf
,
40
,
"creat(%s)"
,
pidfile
);
buf
[
39
]
=
'\0'
;
perror
(
buf
);
goto
fail_nopid
;
goto
fail_nopid
;
}
}
...
...
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