~ubuntu-branches/debian/jessie/alpine/jessie

« back to all changes in this revision

Viewing changes to imap/src/osdep/unix/flocklnx.c

  • Committer: Package Import Robot
  • Author(s): Alexander Reichle-Schmehl
  • Date: 2011-12-02 15:14:18 UTC
  • Revision ID: package-import@ubuntu.com-20111202151418-1fx7k12013alvrmc
Tags: 2.02-3.1
* Non-maintainer upload.
* Add patch from Eric Alexander to solve the format not a string or
  literal compiler error (Closes: #643349)
  (Added as debian/patches/60_fix_string_error.patch)
* Set urgency to medium due to rc bug fix

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    case ENOLCK:                /* lock table is full */
58
58
      sprintf (tmp,"File locking failure: %s",strerror (errno));
59
59
      mm_log (tmp,WARN);        /* give the user a warning of what happened */
60
 
      if (!logged++) syslog (LOG_ERR,tmp);
 
60
      if (!logged++) syslog (LOG_ERR, "%s", tmp);
61
61
                                /* return failure if non-blocking lock */
62
62
      if (op & LOCK_NB) return -1;
63
63
      sleep (5);                /* slow down in case it loops */