From 76e696ff22cdce07c44bede7a3a43ffac5c717d0 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Fri, 30 Apr 2021 11:15:39 -0700 Subject: *: minor message string typo fixups nothing functionally different --- src/rmd.c | 4 ++-- src/rmd_get_frames.c | 2 +- src/rmd_init_encoder.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rmd.c b/src/rmd.c index 9fe2867..c76b5bf 100644 --- a/src/rmd.c +++ b/src/rmd.c @@ -163,9 +163,9 @@ int main(int argc, char **argv) return 1; } - fprintf(stderr, "Cleanning up cache...\n"); + fprintf(stderr, "Cleaning up cache...\n"); if (rmdPurgeCache(pdata.cache_data, !pdata.args.nosound)) - fprintf(stderr, "Some error occured while cleaning up cache!\n"); + fprintf(stderr, "Some error occurred while cleaning up cache!\n"); fprintf(stderr, "Done!!!\n"); } diff --git a/src/rmd_get_frames.c b/src/rmd_get_frames.c index af52c3f..65f086f 100644 --- a/src/rmd_get_frames.c +++ b/src/rmd_get_frames.c @@ -151,7 +151,7 @@ static int rmdFirstFrame(ProgData *pdata, Image *image) IPC_CREAT|0777); if (image->shm_info.shmid == -1) { - fprintf(stderr, "Failed to obtain Shared Memory segment!\n"); + fprintf(stderr, "Failed to obtain shared memory segment!\n"); return 12; } diff --git a/src/rmd_init_encoder.c b/src/rmd_init_encoder.c index 59f97ae..4d01dbe 100644 --- a/src/rmd_init_encoder.c +++ b/src/rmd_init_encoder.c @@ -115,7 +115,7 @@ void rmdInitEncoder(ProgData *pdata, EncData *enc_data_t, int buffer_ready) enc_data_t->fp = fopen((pdata)->args.filename, "w"); if (enc_data_t->fp == NULL) { - fprintf(stderr, "Cannot open file %s for writting!\n", (pdata)->args.filename); + fprintf(stderr, "Cannot open file %s for writing!\n", (pdata)->args.filename); exit(13); } -- cgit v1.2.3