Changeset eedf195 in rtems


Ignore:
Timestamp:
Apr 15, 2003, 1:03:40 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
4426855
Parents:
d8767c3
Message:

2003-04-15 Joel Sherrill <joel@…>

PR 387/rtems_misc

  • ide/ata.c: Removed warning and moved to use of simpler libc routines.
  • ide/ata_internal.h: Added missing newline and end of file.
Location:
c/src/libchip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ChangeLog

    rd8767c3 reedf195  
     12003-04-15      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 387/rtems_misc
     4        * ide/ata.c: Removed warning and moved to use of simpler libc routines.
     5        * ide/ata_internal.h: Added missing newline and end of file.
     6
    172003-03-27      Joel Sherrill <joel@OARcorp.com>
    28
  • c/src/libchip/ide/ata.c

    rd8767c3 reedf195  
    11861186            ata_devs[ata_devs_number].device = dev;
    11871187
    1188             snprintf(name, ATA_MAX_NAME_LENGTH, "/dev/hd%c",
    1189                      'a' + 2 * ctrl_minor + dev);
     1188            /* The space leaves a hole for the character. */
     1189            strcpy(name, "/dev/hd ");
     1190            name[7] = 'a' + 2 * ctrl_minor + dev;
     1191
    11901192            device = rtems_filesystem_make_dev_t(
    11911193                         major,
     
    13151317    }
    13161318}
     1319
  • c/src/libchip/ide/ata_internal.h

    rd8767c3 reedf195  
    326326#endif /* __ATA_INTERNAL_H__ */
    327327
    328  
Note: See TracChangeset for help on using the changeset viewer.