Changeset 556ea0e3 in rtems


Ignore:
Timestamp:
May 27, 1999, 4:12:20 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
1c841bd2
Parents:
5adf355a
Message:

Removed usage of printf.

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/mount.c

    r5adf355a r556ea0e3  
    143143   temp_mt_entry->options = options;
    144144   if ( device )
    145      sprintf( temp_mt_entry->dev, "%s", device );
     145     strcpy( temp_mt_entry->dev, device );
    146146   else
    147147     temp_mt_entry->dev = 0;
  • c/src/exec/libfs/src/imfs/imfs_directory.c

    r5adf355a r556ea0e3  
    127127         the_jnode = (IMFS_jnode_t *) the_node;
    128128         tmp_dirent.d_namlen = strlen( the_jnode->name );
    129          sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
     129         strcpy( tmp_dirent.d_name, the_jnode->name );
    130130         memcpy(
    131131            buffer + bytes_transferred,
  • c/src/lib/libc/imfs_directory.c

    r5adf355a r556ea0e3  
    127127         the_jnode = (IMFS_jnode_t *) the_node;
    128128         tmp_dirent.d_namlen = strlen( the_jnode->name );
    129          sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
     129         strcpy( tmp_dirent.d_name, the_jnode->name );
    130130         memcpy(
    131131            buffer + bytes_transferred,
  • c/src/lib/libc/mount.c

    r5adf355a r556ea0e3  
    143143   temp_mt_entry->options = options;
    144144   if ( device )
    145      sprintf( temp_mt_entry->dev, "%s", device );
     145     strcpy( temp_mt_entry->dev, device );
    146146   else
    147147     temp_mt_entry->dev = 0;
  • c/src/libfs/src/imfs/imfs_directory.c

    r5adf355a r556ea0e3  
    127127         the_jnode = (IMFS_jnode_t *) the_node;
    128128         tmp_dirent.d_namlen = strlen( the_jnode->name );
    129          sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
     129         strcpy( tmp_dirent.d_name, the_jnode->name );
    130130         memcpy(
    131131            buffer + bytes_transferred,
  • cpukit/libcsupport/src/mount.c

    r5adf355a r556ea0e3  
    143143   temp_mt_entry->options = options;
    144144   if ( device )
    145      sprintf( temp_mt_entry->dev, "%s", device );
     145     strcpy( temp_mt_entry->dev, device );
    146146   else
    147147     temp_mt_entry->dev = 0;
  • cpukit/libfs/src/imfs/imfs_directory.c

    r5adf355a r556ea0e3  
    127127         the_jnode = (IMFS_jnode_t *) the_node;
    128128         tmp_dirent.d_namlen = strlen( the_jnode->name );
    129          sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
     129         strcpy( tmp_dirent.d_name, the_jnode->name );
    130130         memcpy(
    131131            buffer + bytes_transferred,
Note: See TracChangeset for help on using the changeset viewer.