Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 28be7fa in mainline for uspace/app/init/init.c


Ignore:
Timestamp:
2010-02-03T13:55:36Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
472c09d
Parents:
210e50a
Message:

cstyle changes, no change in functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r210e50a r28be7fa  
    171171{
    172172        char *argv[3];
    173         char hid_in[MAX_DEVICE_NAME];
     173        char hid_in[DEVMAP_NAME_MAXLEN];
    174174        int rc;
    175175       
    176         snprintf(hid_in, MAX_DEVICE_NAME, "%s/%s", DEVFS_MOUNT_POINT, dev);
     176        snprintf(hid_in, DEVMAP_NAME_MAXLEN, "%s/%s", DEVFS_MOUNT_POINT, dev);
    177177       
    178178        printf(NAME ": Spawning %s with %s\n", SRV_CONSOLE, hid_in);
     
    196196{
    197197        char *argv[4];
    198         char term[MAX_DEVICE_NAME];
     198        char term[DEVMAP_NAME_MAXLEN];
    199199        int rc;
    200200       
    201         snprintf(term, MAX_DEVICE_NAME, "%s/%s", DEVFS_MOUNT_POINT, dev);
     201        snprintf(term, DEVMAP_NAME_MAXLEN, "%s/%s", DEVFS_MOUNT_POINT, dev);
    202202       
    203203        printf(NAME ": Spawning %s with %s %s\n", APP_GETTERM, term, app);
Note: See TracChangeset for help on using the changeset viewer.