Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=22781 fix the waiting time/race of identity upcall.
[fs/lustre-release.git]
/
lustre
/
utils
/
l_getidentity.c
diff --git
a/lustre/utils/l_getidentity.c
b/lustre/utils/l_getidentity.c
index
2673412
..
ee4b645
100644
(file)
--- a/
lustre/utils/l_getidentity.c
+++ b/
lustre/utils/l_getidentity.c
@@
-89,11
+89,10
@@
static void errlog(const char *fmt, ...)
{
va_list args;
- openlog(progname, LOG_PERROR, LOG_AUTHPRIV);
+ openlog(progname, LOG_PERROR
| LOG_PID
, LOG_AUTHPRIV);
va_start(args, fmt);
vsyslog(LOG_NOTICE, fmt, args);
- fprintf(stderr, fmt, args);
va_end(args);
closelog();