mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-04 12:55:37 -04:00
Initialize all the things.
This commit is contained in:
parent
aeac85d176
commit
83e368fbc4
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@
|
|||
static int
|
||||
is_cdrom(const char *path)
|
||||
{
|
||||
int fd;
|
||||
int ret;
|
||||
int fd = -1;
|
||||
int ret = -1;
|
||||
|
||||
fd = open(path, O_RDONLY | O_NONBLOCK);
|
||||
if (fd >= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue