diff options
Diffstat (limited to 'firmware/target/hosted/fiio/system-fiio.c')
-rw-r--r-- | firmware/target/hosted/fiio/system-fiio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/fiio/system-fiio.c b/firmware/target/hosted/fiio/system-fiio.c index 5e638989a1..f011ceea75 100644 --- a/firmware/target/hosted/fiio/system-fiio.c +++ b/firmware/target/hosted/fiio/system-fiio.c | |||
@@ -94,7 +94,7 @@ void power_off(void) | |||
94 | { | 94 | { |
95 | backlight_hw_off(); | 95 | backlight_hw_off(); |
96 | 96 | ||
97 | axp_hw = open("/dev/axp173", O_RDWR); | 97 | axp_hw = open("/dev/axp173", O_RDWR | O_CLOEXEC); |
98 | if(axp_hw < 0) | 98 | if(axp_hw < 0) |
99 | panicf("Cannot open '/dev/axp173'"); | 99 | panicf("Cannot open '/dev/axp173'"); |
100 | 100 | ||