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

Changeset 8be693b in mainline


Ignore:
Timestamp:
2009-04-08T18:57:11Z (12 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
3a180ad
Parents:
9eb3623
Message:

More replacements.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/vfs/vfs.c

    r9eb3623 r8be693b  
    535535                return NULL;
    536536        }
    537         strcpy(buf, cwd_path);
     537        str_ncpy(buf, cwd_path, size);
    538538        futex_up(&cwd_futex);
    539539        return buf;
  • uspace/srv/devmap/devmap.c

    r9eb3623 r8be693b  
    113113        while (item != &devices_list) {
    114114                device = list_get_instance(item, devmap_device_t, devices);
    115                 if (0 == strcmp(device->name, name))
     115                if (0 == str_cmp(device->name, name))
    116116                        break;
    117117                item = item->next;
Note: See TracChangeset for help on using the changeset viewer.