Changeset 6eaf35b


Ignore:
Timestamp:
Dec 6, 2008, 2:33:28 AM (16 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
2b237308
Parents:
554a2b8
git-author:
Anders Kaseorg <andersk@mit.edu> (12/06/08 01:49:41)
git-committer:
Anders Kaseorg <andersk@mit.edu> (12/06/08 02:33:28)
Message:
Correct format specifiers for longs.
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r3381399 r6eaf35b  
    510510      int signum;
    511511      if ((signum = owl_global_get_errsignal_and_clear(&g, &si)) > 0) {
    512         owl_function_error("Got unexpected signal: %d %s  (code: %d band: %d  errno: %d)",
     512        owl_function_error("Got unexpected signal: %d %s  (code: %d band: %ld  errno: %d)",
    513513                           signum, signum==SIGPIPE?"SIGPIPE":"SIG????",
    514514                           si.si_code, si.si_band, si.si_errno);
  • util.c

    r601733d r6eaf35b  
    373373
    374374  if (days>0) {
    375     out=owl_sprintf("%i d %2.2i:%2.2i", days, hours, run);
     375    out=owl_sprintf("%i d %2.2i:%2.2li", days, hours, run);
    376376  } else {
    377     out=owl_sprintf("    %2.2i:%2.2i", hours, run);
     377    out=owl_sprintf("    %2.2i:%2.2li", hours, run);
    378378  }
    379379  return(out);
Note: See TracChangeset for help on using the changeset viewer.