projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian patch 2.5.0p2-1
[debian/amanda]
/
common-src
/
amflock.c
diff --git
a/common-src/amflock.c
b/common-src/amflock.c
index 528f7782eee66cf7c74f948618d6343f22be8781..9fe27c7c575397c2e1878c3ef92b524b4bc9dcb0 100644
(file)
--- a/
common-src/amflock.c
+++ b/
common-src/amflock.c
@@
-24,7
+24,7
@@
* file named AUTHORS, in the root directory of this distribution.
*/
/*
* file named AUTHORS, in the root directory of this distribution.
*/
/*
- * $Id: amflock.c,v 1.
17.4.6.6.1.2.2 2005/10/06 17:26:36
martinea Exp $
+ * $Id: amflock.c,v 1.
27 2005/10/06 17:26:21
martinea Exp $
*
* file locking routines, put here to hide the system dependant stuff
* from the rest of the code
*
* file locking routines, put here to hide the system dependant stuff
* from the rest of the code
@@
-284,7
+284,7
@@
int op; /* true to lock; false to unlock */
/* lock the resource */
/* lock the resource */
-
ap_
snprintf(pid_str, sizeof(pid_str), "%ld", mypid);
+ snprintf(pid_str, sizeof(pid_str), "%ld", mypid);
tlockfile = vstralloc(AMANDA_TMPDIR, "am", res, ".", pid_str, NULL);
(void)create_lock(tlockfile, mypid);
tlockfile = vstralloc(AMANDA_TMPDIR, "am", res, ".", pid_str, NULL);
(void)create_lock(tlockfile, mypid);