diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-06-30 02:06:52 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-06-30 02:06:52 +0000 |
commit | a7483f6a75df0a29d116872a9e2f1abcbd1dc14d (patch) | |
tree | 3c608851a876eba00ad4e3ca4e2acde2dcfa836f | |
parent | 71b67522065a204e595edc9f09035911d334029b (diff) | |
download | sunmake-a7483f6a75df0a29d116872a9e2f1abcbd1dc14d.tar.gz |
WTF hack
-rw-r--r-- | usr/src/make_src/Make/lib/vroot/src/lock.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/make_src/Make/lib/vroot/src/lock.cc b/usr/src/make_src/Make/lib/vroot/src/lock.cc index ca5a9a5..c49a980 100644 --- a/usr/src/make_src/Make/lib/vroot/src/lock.cc +++ b/usr/src/make_src/Make/lib/vroot/src/lock.cc @@ -47,7 +47,7 @@ extern char *sys_errlist[]; extern int sys_nerr; #endif -static void file_lock_error(char *msg, char *file, char *str, int arg1, int arg2); +static void file_lock_error(char *msg, char *file, char *str, char* arg1, char* arg2); #define BLOCK_INTERUPTS sigfillset(&newset) ; \ sigprocmask(SIG_SETMASK, &newset, &oldset) @@ -117,7 +117,7 @@ file_lock(char *name, char *lockname, int *file_locked, int timeout) if (errno != EEXIST) { file_lock_error(msg, name, NOCATGETS("symlink(%s, %s)"), - (int) name, (int) lockname); + name, lockname); fprintf(stderr, "%s", msg); return errno; } @@ -169,7 +169,7 @@ file_lock(char *name, char *lockname, int *file_locked, int timeout) * Format a message telling why the lock could not be created. */ static void -file_lock_error(char *msg, char *file, char *str, int arg1, int arg2) +file_lock_error(char *msg, char *file, char *str, char* arg1, char* arg2) { int len; |