aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/DocBook/uio-howto.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/uio-howto.tmpl b/Documentation/DocBook/uio-howto.tmpl
index ddb05e98af0d..95618159e29b 100644
--- a/Documentation/DocBook/uio-howto.tmpl
+++ b/Documentation/DocBook/uio-howto.tmpl
@@ -984,7 +984,7 @@ int main()
984 return errno; 984 return errno;
985 } 985 }
986 configfd = open("/sys/class/uio/uio0/device/config", O_RDWR); 986 configfd = open("/sys/class/uio/uio0/device/config", O_RDWR);
987 if (uiofd < 0) { 987 if (configfd < 0) {
988 perror("config open:"); 988 perror("config open:");
989 return errno; 989 return errno;
990 } 990 }