summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-14 01:53:04 +0000
committerTim Potter <tpot@samba.org>2002-03-14 01:53:04 +0000
commit57bd576445e42a55887c41d270f2230f5136b873 (patch)
treebf65710f0350af25c5696aec28cc8542a1cee569 /source3/printing
parent8975d3ef70916bc13c8186c92e66260abc91aaaa (diff)
downloadsamba-57bd576445e42a55887c41d270f2230f5136b873.tar.gz
samba-57bd576445e42a55887c41d270f2230f5136b873.tar.bz2
samba-57bd576445e42a55887c41d270f2230f5136b873.zip
getpid() -> sys_getpid()
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 81a44d7e69..758c855188 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -293,7 +293,7 @@ static void set_updating_pid(fstring printer_name, BOOL delete)
fstring keystr;
TDB_DATA key;
TDB_DATA data;
- pid_t updating_pid = getpid();
+ pid_t updating_pid = sys_getpid();
slprintf(keystr, sizeof(keystr)-1, "UPDATING/%s", printer_name);
key.dptr = keystr;