aboutsummaryrefslogtreecommitdiff
path: root/scripts/on_ac_power
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-01-04 18:18:27 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-01-04 18:18:37 -0600
commitb73941f0c3020e3dbd1684d09685e114c678b520 (patch)
tree025689602ed7c5fa116561085575cb89f638fb3e /scripts/on_ac_power
parentc304522131a795cf882444b5f94e81db4baf65b3 (diff)
mountinfo: make the path to /proc/mounts a constant
This path should not be hard coded in the open call. Linux prior to 2.4.19 did not have /proc/self/mounts, so for now I'm making this value /proc/mounts everywhere, but that may change to /proc/self/mounts on linux; I'm not sure we should care about <2.4.19. X-Gentoo-Bug: 604646 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=604646
Diffstat (limited to 'scripts/on_ac_power')
0 files changed, 0 insertions, 0 deletions