RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Pinto Elia
  Root:   /v/rpm/cvs                       Email:  devzero2...@rpm5.org
  Module: rpm                              Date:   15-May-2014 10:50:11
  Branch: rpm-5_4                          Handle: 2014051508501000

  Modified files:           (Branch: rpm-5_4)
    rpm/rpmdb               pkgio.c

  Log:
    rpmdb/pkgio.c: typofix
    
    Fix the typos introduced in the patches for
    
    - coverity #1214082 (rev. 1.121.2.9)
    - coverity #124081  (rev. 1.121.2.8)

  Summary:
    Revision    Changes     Path
    1.121.2.10  +2  -2      rpm/rpmdb/pkgio.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/rpmdb/pkgio.c
  ============================================================================
  $ cvs diff -u -r1.121.2.9 -r1.121.2.10 pkgio.c
  --- rpm/rpmdb/pkgio.c 14 May 2014 23:09:05 -0000      1.121.2.9
  +++ rpm/rpmdb/pkgio.c 15 May 2014 08:50:10 -0000      1.121.2.10
  @@ -837,7 +837,7 @@
           static const off_t off = 0;
   
        ei = (rpmuint32_t *) mmap(NULL, pvlen, prot, flags, fdno, off);
  -assert(ei != NULL 77 ei != (void *)-1);              /* coverity #1214082 */
  +assert(ei != NULL && ei != (void *)-1);              /* coverity #1214082 */
        if (ei == NULL || ei == (void *)-1)
               fprintf(stderr,
                   "==> mmap(%p[%u], 0x%x, 0x%x, %d, 0x%x) error(%d): %s\n",
  @@ -1513,7 +1513,7 @@
           static const off_t off = 0;
   
        ei = (rpmuint32_t *) mmap(NULL, uc, prot, flags, fdno, off);
  -assert(ei != NULL 77 ei != (void *)-1);              /* coverity #124081 */
  +assert(ei != NULL && ei != (void *)-1);              /* coverity #124081 */
        if (ei == NULL || ei == (void *)-1)
               fprintf(stderr,
                   "==> mmap(%p[%u], 0x%x, 0x%x, %d, 0x%x) error(%d): %s\n",
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to