Removed usage of printf.

This commit is contained in:
Joel Sherrill
1999-05-27 16:12:20 +00:00
parent 5adf355aa3
commit 556ea0e3ba
7 changed files with 7 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ int mount(
temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;
temp_mt_entry->options = options;
if ( device )
sprintf( temp_mt_entry->dev, "%s", device );
strcpy( temp_mt_entry->dev, device );
else
temp_mt_entry->dev = 0;

View File

@@ -126,7 +126,7 @@ int imfs_dir_read(
tmp_dirent.d_reclen = sizeof( struct dirent );
the_jnode = (IMFS_jnode_t *) the_node;
tmp_dirent.d_namlen = strlen( the_jnode->name );
sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
strcpy( tmp_dirent.d_name, the_jnode->name );
memcpy(
buffer + bytes_transferred,
(void *)&tmp_dirent,

View File

@@ -126,7 +126,7 @@ int imfs_dir_read(
tmp_dirent.d_reclen = sizeof( struct dirent );
the_jnode = (IMFS_jnode_t *) the_node;
tmp_dirent.d_namlen = strlen( the_jnode->name );
sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
strcpy( tmp_dirent.d_name, the_jnode->name );
memcpy(
buffer + bytes_transferred,
(void *)&tmp_dirent,

View File

@@ -142,7 +142,7 @@ int mount(
temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;
temp_mt_entry->options = options;
if ( device )
sprintf( temp_mt_entry->dev, "%s", device );
strcpy( temp_mt_entry->dev, device );
else
temp_mt_entry->dev = 0;

View File

@@ -126,7 +126,7 @@ int imfs_dir_read(
tmp_dirent.d_reclen = sizeof( struct dirent );
the_jnode = (IMFS_jnode_t *) the_node;
tmp_dirent.d_namlen = strlen( the_jnode->name );
sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
strcpy( tmp_dirent.d_name, the_jnode->name );
memcpy(
buffer + bytes_transferred,
(void *)&tmp_dirent,

View File

@@ -142,7 +142,7 @@ int mount(
temp_mt_entry->mt_fs_root.mt_entry = temp_mt_entry;
temp_mt_entry->options = options;
if ( device )
sprintf( temp_mt_entry->dev, "%s", device );
strcpy( temp_mt_entry->dev, device );
else
temp_mt_entry->dev = 0;

View File

@@ -126,7 +126,7 @@ int imfs_dir_read(
tmp_dirent.d_reclen = sizeof( struct dirent );
the_jnode = (IMFS_jnode_t *) the_node;
tmp_dirent.d_namlen = strlen( the_jnode->name );
sprintf( tmp_dirent.d_name, "%s", the_jnode->name );
strcpy( tmp_dirent.d_name, the_jnode->name );
memcpy(
buffer + bytes_transferred,
(void *)&tmp_dirent,