mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
Fixed a misspelling of 0 as NULL.
This commit is contained in:
parent
8f650450c6
commit
f342fec625
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=126960
@ -325,7 +325,7 @@ userlist(int argc, char **argv)
|
||||
continue;
|
||||
*conf_realname = '\0'; /* Replace : with NUL */
|
||||
for (p = argv; *p; ++p) {
|
||||
if (strcmp(*p, conf_alias) == NULL) {
|
||||
if (strcmp(*p, conf_alias) == 0) {
|
||||
if ((*p = strdup(conf_realname+1)) == NULL) {
|
||||
err(1, NULL);
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ copystr(void)
|
||||
}
|
||||
out:
|
||||
*cp = 0;
|
||||
printf("%d", hashit(buf, 1, NULL));
|
||||
printf("%d", hashit(buf, 1, 0));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user