From dd144d74fd6d6d6d63b6f68c5b8e5bbba598a20e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 16 Jan 2013 10:05:32 -0800 Subject: [PATCH] --- yaml --- r: 354969 b: refs/heads/master c: 93ce83b6e0ffe8d48dae46bc0983dd3f01ec7e32 h: refs/heads/master i: 354967: 7ba0716d804c6a7a3c2ce0312d56cdb444fb5cca v: v3 --- [refs] | 2 +- trunk/Documentation/DocBook/uio-howto.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d7d2849cb620..56465d3ece34 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 25c22d5bead5b0211f3ecc84fd6152dfdf95c75d +refs/heads/master: 93ce83b6e0ffe8d48dae46bc0983dd3f01ec7e32 diff --git a/trunk/Documentation/DocBook/uio-howto.tmpl b/trunk/Documentation/DocBook/uio-howto.tmpl index ddb05e98af0d..95618159e29b 100644 --- a/trunk/Documentation/DocBook/uio-howto.tmpl +++ b/trunk/Documentation/DocBook/uio-howto.tmpl @@ -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; }