chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
dd94c17
)
util: make gcc shut up by passing a 0 mode param to open()
author
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Jul 2013 00:52:41 +0000
(
02:52
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Jul 2013 00:52:41 +0000
(
02:52
+0200)
If we pass a variable to open()'s flags parameter it really wants a mode
parameter too, otherwise some gcc version whine. Hence, pass 0 in that
case.
No differences found