]> git.karo-electronics.de Git - linux-beck.git/blobdiff - Documentation/DocBook/uio-howto.tmpl
Merge tag 'gpio-v3.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-beck.git] / Documentation / DocBook / uio-howto.tmpl
index ddb05e98af0df99459c0735605c7208dfdd6892b..95618159e29b721ee82d3f19df6db0b41a2018e4 100644 (file)
@@ -984,7 +984,7 @@ int main()
                return errno;
        }
        configfd = open("/sys/class/uio/uio0/device/config", O_RDWR);
-       if (uiofd < 0) {
+       if (configfd < 0) {
                perror("config open:");
                return errno;
        }