[libdvdcss-devel] [PATCH 17/47] typo fixes

Diego Biurrun diego at biurrun.de
Wed Oct 29 21:33:17 CET 2014


---
 src/css.c       | 2 +-
 src/device.c    | 2 +-
 src/ioctl.c     | 4 ++--
 src/ioctl.h     | 4 ++--
 src/libdvdcss.c | 6 +++---
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/css.c b/src/css.c
index f4f82d1..b899fc9 100644
--- a/src/css.c
+++ b/src/css.c
@@ -462,7 +462,7 @@ static int dvdcss_titlekey( dvdcss_t dvdcss, int i_pos, dvd_key_t p_title_key )
 
             case 1:
                 /* Drive status is OK. */
-                /* If the title key request failed, but we did not loose ASF,
+                /* If the title key request failed, but we did not lose ASF,
                  * we might still have the AGID.  Other code assumes that we
                  * will not after this so invalidate it(?). */
                 if( i_ret < 0 )
diff --git a/src/device.c b/src/device.c
index 9d7cbc8..802a73f 100644
--- a/src/device.c
+++ b/src/device.c
@@ -372,7 +372,7 @@ int dvdcss_open_device ( dvdcss_t dvdcss )
     if( psz_device[0] && psz_device[1] == ':' &&
         ( !psz_device[2] || ( psz_device[2] == '\\' && !psz_device[3] ) ) )
     {
-        print_debug( dvdcss, "using OS2 API for access" );
+        print_debug( dvdcss, "using OS/2 API for access" );
         dvdcss->pf_seek  = os2_seek;
         dvdcss->pf_read  = os2_read;
         dvdcss->pf_readv = os2_readv;
diff --git a/src/ioctl.c b/src/ioctl.c
index 442f91b..a993808 100644
--- a/src/ioctl.c
+++ b/src/ioctl.c
@@ -117,7 +117,7 @@ static void QNXInitCPT ( CAM_PASS_THRU *, int );
 #endif
 
 /*****************************************************************************
- * Local prototypes, OS2 specific
+ * Local prototypes, OS/2 specific
  *****************************************************************************/
 #if defined( __OS2__ )
 static void OS2InitSDC( struct OS2_ExecSCSICmd *, int );
@@ -1548,7 +1548,7 @@ static void QNXInitCPT( CAM_PASS_THRU * p_cpt, int i_type )
 /*****************************************************************************
  * OS2InitSDC: initialize a SDC structure for the Execute SCSI-command
  *****************************************************************************
- * This function initializes a OS2 'execute SCSI command' structure for
+ * This function initializes an OS/2 'execute SCSI command' structure for
  * future use, either a read command or a write command.
  *****************************************************************************/
 static void OS2InitSDC( struct OS2_ExecSCSICmd *p_sdc, int i_type )
diff --git a/src/ioctl.h b/src/ioctl.h
index 7e66d27..453a119 100644
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -114,7 +114,7 @@ int ioctl_ReportRPC         ( int, int *, int *, int * );
 #endif
 
 /*****************************************************************************
- * Common macro, OS2 specific
+ * Common macro, OS/2 specific
  *****************************************************************************/
 #if defined( __OS2__ )
 #define INIT_SSC( TYPE, SIZE ) \
@@ -288,7 +288,7 @@ typedef struct SCSI_PASS_THROUGH_DIRECT
 #endif
 
 /*****************************************************************************
- * OS2 ioctl specific
+ * OS/2 ioctl specific
  *****************************************************************************/
 #if defined( __OS2__ )
 
diff --git a/src/libdvdcss.c b/src/libdvdcss.c
index d4c81e9..59bd12d 100644
--- a/src/libdvdcss.c
+++ b/src/libdvdcss.c
@@ -468,8 +468,8 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( const char *psz_target )
             }
         }
 
-        /* Get disk key, since some discs have got same title, manufacturing
-         * date and serial number, but different keys */
+        /* Get disk key, since some discs have the same title, manufacturing
+         * date and serial number, but different keys. */
         if( dvdcss->b_scrambled )
         {
              psz_key[0] = '-';
@@ -520,7 +520,7 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( const char *psz_target )
     }
 #endif
 
-    /* Seek at the beginning, just for safety. */
+    /* Seek to the beginning, just for safety. */
     dvdcss->pf_seek( dvdcss, 0 );
 
     return dvdcss;
-- 
1.9.1



More information about the libdvdcss-devel mailing list