Changeset 4810254 in buchla-68k


Ignore:
Timestamp:
07/14/2017 07:36:05 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
7ecfb7b
Parents:
d6f9ed1
Message:

Fixed console io_arg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/open.c

    rd6f9ed1 r4810254  
    1919static struct devtabl devtabl[] = {
    2020
    21         { "con:", &condev,  (io_arg)2 },        /* console device */
    22         { "CON:", &condev,  (io_arg)2 },
    23 
    24         {      0, &filedev,      NULL }         /* this MUST be the last entry */
     21        { "con:", &condev,  &devtabl[0] },      /* console device */
     22        { "CON:", &condev,  &devtabl[1] },
     23
     24        {      0, &filedev,      NULL   }       /* this MUST be the last entry */
    2525};
    2626
Note: See TracChangeset for help on using the changeset viewer.