summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libfs')
-rw-r--r--cpukit/libfs/src/dosfs/fat.c16
-rw-r--r--cpukit/libfs/src/dosfs/fat_fat_operations.c8
-rw-r--r--cpukit/libfs/src/dosfs/fat_file.c20
-rw-r--r--cpukit/libfs/src/dosfs/msdos_create.c2
-rw-r--r--cpukit/libfs/src/dosfs/msdos_dir.c4
-rw-r--r--cpukit/libfs/src/dosfs/msdos_file.c10
-rw-r--r--cpukit/libfs/src/dosfs/msdos_init.c2
-rw-r--r--cpukit/libfs/src/dosfs/msdos_initsupp.c2
-rw-r--r--cpukit/libfs/src/dosfs/msdos_misc.c18
9 files changed, 41 insertions, 41 deletions
diff --git a/cpukit/libfs/src/dosfs/fat.c b/cpukit/libfs/src/dosfs/fat.c
index 32fdeb0042..9229406dec 100644
--- a/cpukit/libfs/src/dosfs/fat.c
+++ b/cpukit/libfs/src/dosfs/fat.c
@@ -164,7 +164,7 @@ fat_buf_release(fat_fs_info_t *fs_info)
* buff - buffer provided by user
*
* RETURNS:
- * bytes read on success, or -1 if error occured
+ * bytes read on success, or -1 if error occurred
* and errno set appropriately
*/
ssize_t
@@ -259,7 +259,7 @@ fat_block_write(
* buff - buffer provided by user
*
* RETURNS:
- * bytes written on success, or -1 if error occured
+ * bytes written on success, or -1 if error occurred
* and errno set appropriately
*/
ssize_t
@@ -388,7 +388,7 @@ fat_cluster_set(
* fs_info - FS info
*
* RETURNS:
- * 0 on success, or -1 if error occured and errno set appropriately
+ * 0 on success, or -1 if error occurred and errno set appropriately
*/
int
_fat_block_release(fat_fs_info_t *fs_info)
@@ -410,7 +410,7 @@ _fat_block_release(fat_fs_info_t *fs_info)
* buff - buffer provided by user
*
* RETURNS:
- * bytes written on success, or -1 if error occured
+ * bytes written on success, or -1 if error occurred
* and errno set appropriately
*/
ssize_t
@@ -472,7 +472,7 @@ static bool is_cluster_aligned(const fat_vol_t *vol, uint32_t sec_num)
* fs_info - FS info
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
* and errno set appropriately
*/
int
@@ -785,7 +785,7 @@ fat_init_volume_info(fat_fs_info_t *fs_info, const char *device)
* fs_info - FS info
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately)
+ * RC_OK on success, or -1 if error occurred (errno set appropriately)
*/
static int
fat_fat32_update_fsinfo_sector(fat_fs_info_t *fs_info)
@@ -854,7 +854,7 @@ fat_sync(fat_fs_info_t *fs_info)
* fs_info - FS info
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
* and errno set appropriately
*/
int
@@ -905,7 +905,7 @@ fat_shutdown_drive(fat_fs_info_t *fs_info)
* start_cluster_num - num of first cluster in the chain
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
* and errno set appropriately
*/
int
diff --git a/cpukit/libfs/src/dosfs/fat_fat_operations.c b/cpukit/libfs/src/dosfs/fat_fat_operations.c
index ab03c88fdc..24a408f9c7 100644
--- a/cpukit/libfs/src/dosfs/fat_fat_operations.c
+++ b/cpukit/libfs/src/dosfs/fat_fat_operations.c
@@ -37,7 +37,7 @@
* count - count of clusters to allocate (chain length)
*
* RETURNS:
- * RC_OK on success, or error code if error occured (errno set
+ * RC_OK on success, or error code if error occurred (errno set
* appropriately)
*
*
@@ -170,7 +170,7 @@ cleanup:
* chain - number of the first cluster in the chain
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately)
+ * RC_OK on success, or -1 if error occurred (errno set appropriately)
*/
int
fat_free_fat_clusters_chain(
@@ -225,7 +225,7 @@ fat_free_fat_clusters_chain(
* the chain)
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
* and errno set appropriately
*/
int
@@ -308,7 +308,7 @@ fat_get_fat_cluster(
* in_val - value to set
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
* and errno set appropriately
*/
int
diff --git a/cpukit/libfs/src/dosfs/fat_file.c b/cpukit/libfs/src/dosfs/fat_file.c
index ef9df0a67c..3384818801 100644
--- a/cpukit/libfs/src/dosfs/fat_file.c
+++ b/cpukit/libfs/src/dosfs/fat_file.c
@@ -82,7 +82,7 @@ fat_file_lseek(
*
* RETURNS:
* RC_OK and pointer to opened descriptor on success, or -1 if error
- * occured (errno set appropriately)
+ * occurred (errno set appropriately)
*/
int
fat_file_open(
@@ -208,7 +208,7 @@ fat_file_update(fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd)
* fat_fd - fat-file descriptor
*
* RETURNS:
- * RC_OK, or -1 if error occured (errno set appropriately)
+ * RC_OK, or -1 if error occurred (errno set appropriately)
*/
int
fat_file_close(
@@ -280,7 +280,7 @@ fat_file_close(
* buf - buffer provided by user
*
* RETURNS:
- * the number of bytes read on success, or -1 if error occured (errno
+ * the number of bytes read on success, or -1 if error occurred (errno
* set appropriately)
*/
ssize_t
@@ -414,7 +414,7 @@ static bool
*
* RETURNS:
* number of bytes actually written to the file on success, or -1 if
- * error occured (errno set appropriately)
+ * error occurred (errno set appropriately)
*/
static ssize_t
fat_file_write_fat32_or_non_root_dir(
@@ -490,7 +490,7 @@ fat_file_write_fat32_or_non_root_dir(
*
* RETURNS:
* number of bytes actually written to the file on success, or -1 if
- * error occured (errno set appropriately)
+ * error occurred (errno set appropriately)
*/
ssize_t
fat_file_write(
@@ -578,7 +578,7 @@ fat_file_write(
* a_length - placeholder for result - actual new length of file
*
* RETURNS:
- * RC_OK and new length of file on success, or -1 if error occured (errno
+ * RC_OK and new length of file on success, or -1 if error occurred (errno
* set appropriately)
*/
int
@@ -648,7 +648,7 @@ fat_file_extend(
rc = fat_scan_fat_for_free_clusters(fs_info, &chain, cls2add,
&cls_added, &last_cl, zero_fill);
- /* this means that low level I/O error occured */
+ /* this means that low level I/O error occurred */
if (rc != RC_OK)
return rc;
@@ -730,7 +730,7 @@ fat_file_extend(
* new_length - new length
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately)
+ * RC_OK on success, or -1 if error occurred (errno set appropriately)
*/
int
fat_file_truncate(
@@ -795,7 +795,7 @@ fat_file_truncate(
* ...
*
* RETURNS:
- * RC_OK on success, or -1 if error occured and errno set appropriately
+ * RC_OK on success, or -1 if error occurred and errno set appropriately
*/
int
fat_file_ioctl(
@@ -894,7 +894,7 @@ fat_file_mark_removed(
* fat_fd - fat-file descriptor
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately)
+ * RC_OK on success, or -1 if error occurred (errno set appropriately)
*/
int
fat_file_size(
diff --git a/cpukit/libfs/src/dosfs/msdos_create.c b/cpukit/libfs/src/dosfs/msdos_create.c
index 1304cc27cd..26df0451c9 100644
--- a/cpukit/libfs/src/dosfs/msdos_create.c
+++ b/cpukit/libfs/src/dosfs/msdos_create.c
@@ -55,7 +55,7 @@
* (see msdos_file.c, msdos_link for documentation)
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately).
+ * RC_OK on success, or -1 if error occurred (errno set appropriately).
*
*/
int
diff --git a/cpukit/libfs/src/dosfs/msdos_dir.c b/cpukit/libfs/src/dosfs/msdos_dir.c
index 8c8d43f130..093020cbfd 100644
--- a/cpukit/libfs/src/dosfs/msdos_dir.c
+++ b/cpukit/libfs/src/dosfs/msdos_dir.c
@@ -58,7 +58,7 @@
* count - count of bytes to read
*
* RETURNS:
- * the number of bytes read on success, or -1 if error occured (errno
+ * the number of bytes read on success, or -1 if error occurred (errno
* set apropriately).
*/
ssize_t
@@ -381,7 +381,7 @@ msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)
* buf - stat buffer provided by user
*
* RETURNS:
- * RC_OK and filled stat buffer on success, or -1 if error occured (errno
+ * RC_OK and filled stat buffer on success, or -1 if error occurred (errno
* set apropriately).
*/
int
diff --git a/cpukit/libfs/src/dosfs/msdos_file.c b/cpukit/libfs/src/dosfs/msdos_file.c
index e799105658..d142968337 100644
--- a/cpukit/libfs/src/dosfs/msdos_file.c
+++ b/cpukit/libfs/src/dosfs/msdos_file.c
@@ -41,7 +41,7 @@
* count - the number of bytes to read
*
* RETURNS:
- * the number of bytes read on success, or -1 if error occured (errno set
+ * the number of bytes read on success, or -1 if error occurred (errno set
* appropriately)
*/
ssize_t
@@ -72,7 +72,7 @@ msdos_file_read(rtems_libio_t *iop, void *buffer, size_t count)
* count - count of bytes to write
*
* RETURNS:
- * the number of bytes written on success, or -1 if error occured
+ * the number of bytes written on success, or -1 if error occurred
* and errno set appropriately
*/
ssize_t
@@ -117,7 +117,7 @@ msdos_file_write(rtems_libio_t *iop,const void *buffer, size_t count)
* buf - stat buffer provided by user
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately)
+ * RC_OK on success, or -1 if error occurred (errno set appropriately)
*/
int
msdos_file_stat(
@@ -155,7 +155,7 @@ msdos_file_stat(
* length - new length
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately).
+ * RC_OK on success, or -1 if error occurred (errno set appropriately).
*/
int
msdos_file_ftruncate(rtems_libio_t *iop, off_t length)
@@ -204,7 +204,7 @@ msdos_file_ftruncate(rtems_libio_t *iop, off_t length)
* iop - file control block
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set appropriately)
+ * RC_OK on success, or -1 if error occurred (errno set appropriately)
*/
int
msdos_file_sync(rtems_libio_t *iop)
diff --git a/cpukit/libfs/src/dosfs/msdos_init.c b/cpukit/libfs/src/dosfs/msdos_init.c
index a96b973cba..36f1442a26 100644
--- a/cpukit/libfs/src/dosfs/msdos_init.c
+++ b/cpukit/libfs/src/dosfs/msdos_init.c
@@ -91,7 +91,7 @@ void msdos_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry)
* temp_mt_entry - mount table entry
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set apropriately).
+ * RC_OK on success, or -1 if error occurred (errno set apropriately).
*
*/
int rtems_dosfs_initialize(
diff --git a/cpukit/libfs/src/dosfs/msdos_initsupp.c b/cpukit/libfs/src/dosfs/msdos_initsupp.c
index e2ee85d4d4..6394f2ee58 100644
--- a/cpukit/libfs/src/dosfs/msdos_initsupp.c
+++ b/cpukit/libfs/src/dosfs/msdos_initsupp.c
@@ -44,7 +44,7 @@
* directory_handlers - directory operations table
*
* RETURNS:
- * RC_OK and filled temp_mt_entry on success, or -1 if error occured
+ * RC_OK and filled temp_mt_entry on success, or -1 if error occurred
* (errno set apropriately)
*
*/
diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c
index 5da48776c8..a82389bc42 100644
--- a/cpukit/libfs/src/dosfs/msdos_misc.c
+++ b/cpukit/libfs/src/dosfs/msdos_misc.c
@@ -334,7 +334,7 @@ msdos_long_to_short(rtems_dosfs_convert_control *converter,
*
* RETURNS:
* RC_OK and updated 'parent_loc' on success, or -1 if error
- * occured (errno set apropriately)
+ * occurred (errno set apropriately)
*
*/
int
@@ -476,7 +476,7 @@ msdos_find_name(
*
* RETURNS:
* RC_OK, filled aux_struct_ptr and name_dir_entry on success, or -1 if
- * error occured (errno set apropriately)
+ * error occurred (errno set apropriately)
*
*/
int
@@ -570,7 +570,7 @@ msdos_get_name_node(
* dir_entry - placeholder for found node
*
* RETURNS:
- * RC_OK, filled 'paux' and 'dir_entry' on success, or -1 if error occured
+ * RC_OK, filled 'paux' and 'dir_entry' on success, or -1 if error occurred
* (errno set apropriately)
*
*/
@@ -702,7 +702,7 @@ msdos_get_dotdot_dir_info_cluster_num_and_offset(
* fat_fd - fat-file descriptor
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set apropriately).
+ * RC_OK on success, or -1 if error occurred (errno set apropriately).
*
*/
int
@@ -772,7 +772,7 @@ fat_file_write_time_and_date(
* fat_fd - fat-file descriptor
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
*
*/
int
@@ -820,7 +820,7 @@ fat_file_write_first_cluster_num(
* fat_fd - fat-file descriptor
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set apropriately).
+ * RC_OK on success, or -1 if error occurred (errno set apropriately).
*
*/
int
@@ -868,7 +868,7 @@ fat_file_write_file_size(
* fchar - character to set up
*
* RETURNS:
- * RC_OK on success, or -1 if error occured (errno set apropriately)
+ * RC_OK on success, or -1 if error occurred (errno set apropriately)
*
*/
int
@@ -939,7 +939,7 @@ msdos_set_first_char4file_name(
* ret_val - placeholder for result
*
* RETURNS:
- * RC_OK on success, or -1 if error occured
+ * RC_OK on success, or -1 if error occurred
*
*/
int
@@ -2001,7 +2001,7 @@ msdos_find_name_in_fat_file (
* dir_entry - placeholder for found node
*
* RETURNS:
- * RC_OK on success, or error code if error occured
+ * RC_OK on success, or error code if error occurred
*
*/
int msdos_find_node_by_cluster_num_in_fat_file(