~ubuntu-branches/ubuntu/karmic/trousers/karmic

« back to all changes in this revision

Viewing changes to src/tcs/log.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-07-02 09:06:00 UTC
  • mfrom: (0.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080702090600-hzqx25pro62pl8g4
Tags: 0.3.1-7
* Also adding check for /dev/tpm* existence in stop section of the
  initscript (Closes: #488089).
* Adding patch from Albin Tonnerre <lutin@ubuntu.com> to add missing
  includes on limits.h.
* Adding patch from Albin Tonnerre <lutin@ubuntu.com> to fix trousers
  usage of syslog.
* Using less alarming 'skipping' rather than 'aborting' when not
  starting the daemon through the initscript.
* Updating to standards 3.8.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                        if (foreground)
44
44
                                fprintf(stdout, "%s %s\n", szDescriptor, temp);
45
45
                        else
46
 
                                syslog(LOG_DEBUG, "%s", temp);
 
46
                                syslog(LOG_DEBUG, temp);
47
47
                        memset(temp, 0, sizeof(temp));
48
48
                }
49
49
                snprintf(&temp[(i%16)*3], 4, "%.2X ", blob[i]);
53
53
                if (foreground)
54
54
                        fprintf(stdout, "%s %s\n", szDescriptor, temp);
55
55
                else
56
 
                        syslog(LOG_DEBUG, "%s", temp);
 
56
                        syslog(LOG_DEBUG, temp);
57
57
        }
58
58
}
59
59