Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: gpio_setup.cc

Issue 2845038: MINOR: add missing slash to enable file path (Closed) Base URL: ssh://git@chromiumos-git/firmware-utils.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpio_setup.cc
diff --git a/gpio_setup.cc b/gpio_setup.cc
index ac14d8343d32f5e451b9c4cbe2594d550a6a4ce0..31fa39e1ff7584cc3c61fcd3c6b04e909e87afc9 100644
--- a/gpio_setup.cc
+++ b/gpio_setup.cc
@@ -57,7 +57,7 @@
#define GPIO_ROOT "/sys/class/gpio"
#define GPIO_DEVICE_ROOT GPIO_ROOT "/gpiochip"
-#define GPIO_ENABLE_FILE GPIO_ROOT "export"
+#define GPIO_ENABLE_FILE GPIO_ROOT "/export"
// Can be changed using --pci_address command line option.
#define DEFAULT_GPIO_DEVICE_PCI_ADDRESS "0000:00:1f.0"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698