mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
MFC r298024,r298196:
r298024: Set test_argv to NULL, not 0, if not executing a specific test r298196: Minor cosmetic cleanup - Remove spurious trailing whitespace in licensing header - Remove unnecessary semi-colon after comment
This commit is contained in:
parent
08bbdfbb44
commit
224be49968
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=298490
@ -1566,7 +1566,7 @@ main(int argc, const char *argv[])
|
||||
} else {
|
||||
testnum = 0;
|
||||
test_argc = 0;
|
||||
test_argv = 0;
|
||||
test_argv = NULL;
|
||||
}
|
||||
|
||||
sa.sa_handler = ignore_alarm;
|
||||
|
@ -3,7 +3,7 @@
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software was developed at the University of Cambridge Computer
|
||||
* Laboratory with support from a grant from Google, Inc.
|
||||
* Laboratory with support from a grant from Google, Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -115,7 +115,7 @@ main(__unused int argc, __unused char *argv[])
|
||||
err(-1, "listen");
|
||||
if (pthread_create(&accept_thread, NULL, do_accept, NULL) != 0)
|
||||
err(-1, "pthread_create");
|
||||
sleep(1); /* Easier than using a CV. */;
|
||||
sleep(1); /* Easier than using a CV. */
|
||||
do_fork();
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user