diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2012-11-04 02:52:03 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2012-11-04 02:52:03 +0000 |
| commit | 08870ffbc9e2cee84244c234ad5b56ea9aa26fc1 (patch) | |
| tree | 6529410589884f91f893352ebc9478b9dbfbaf81 /pw/pw_log.c | |
| parent | e31403ceb5782471289eff04659a003fc5832d0b (diff) | |
| parent | 530ff00378e7fc235e5ea51067c77398d575141e (diff) | |
| download | pw-darwin-08870ffbc9e2cee84244c234ad5b56ea9aa26fc1.tar.gz pw-darwin-08870ffbc9e2cee84244c234ad5b56ea9aa26fc1.zip | |
Sync from head
Diffstat (limited to 'pw/pw_log.c')
| -rw-r--r-- | pw/pw_log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_log.c b/pw/pw_log.c index fc85828..f16274f 100644 --- a/pw/pw_log.c +++ b/pw/pw_log.c @@ -51,7 +51,7 @@ pw_log(struct userconf * cnf, int mode, int which, char const * fmt,...) time_t now = time(NULL); struct tm *t = localtime(&now); char nfmt[256]; - char *name; + const char *name; if ((name = getenv("LOGNAME")) == NULL && (name = getenv("USER")) == NULL) name = "unknown"; |
