mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 00:10:37 +02:00
* Fixed compilation of example
git-svn-id: trunk@12407 -
This commit is contained in:
parent
3a50161c65
commit
d5da3f316f
@ -1,6 +1,6 @@
|
||||
program testlog;
|
||||
|
||||
uses linux,systemlog,sysutils;
|
||||
uses systemlog,sysutils;
|
||||
|
||||
procedure dotest;
|
||||
|
||||
@ -8,7 +8,7 @@ var i : longint;
|
||||
prefix : ansistring;
|
||||
|
||||
begin
|
||||
i:=getpid;
|
||||
i:=GetProcessID;
|
||||
prefix:=format('testlog[%d] ',[i]);
|
||||
// prefix will be prepended to every message now.
|
||||
openlog(pchar(prefix),LOG_NOWAIT,LOG_DEBUG);
|
||||
|
Loading…
Reference in New Issue
Block a user