Changeset 99cac86 in buchla-68k for libcio/clusmap.c


Ignore:
Timestamp:
07/16/2017 11:27:12 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
d60f436
Parents:
ea232f9
Message:

Simplify kind handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcio/clusmap.c

    rea232f9 r99cac86  
    258258        chclo arg;
    259259        int16_t ft;
    260         int8_t  *ds, *fsn, *fse;
     260        int8_t  *fsn, *fse;
    261261        struct  fcb     *fcp;
    262262
     
    275275        if (arg EQ _nopc) {
    276276
    277                 ds = ((struct devtabl *)chantab[fp->_unit].c_arg)->d_name;
    278                 printf(" is a device:  [%s]\n", ds);
     277                printf(" has device kind:  [%d]\n",
     278                        (int16_t)(int32_t)chantab[fp->_unit].c_arg);
    279279
    280280        } else if (arg EQ _filecl) {
Note: See TracChangeset for help on using the changeset viewer.