chiark / gitweb /
util: make gcc shut up by passing a 0 mode param to open()
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Jul 2013 00:52:41 +0000 (02:52 +0200)
committerLennart 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