revert getdelays.c part due to missing bsd/string.h
Cc: Frank Blaschka <blaschka@linux.vnet.ibm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> [staging]
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com> [acpi]
Cc: Richard Weinberger <richard@nod.at>
Acked-by: Ursula Braun <ursula.braun@de.ibm.com> [s390]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
#include <sys/socket.h>
#include <sys/wait.h>
#include <signal.h>
-#include <bsd/string.h>
#include <linux/genetlink.h>
#include <linux/taskstats.h>
break;
case 'C':
containerset = 1;
- strlcpy(containerpath, optarg, sizeof(containerpath));
+ strncpy(containerpath, optarg, strlen(optarg) + 1);
break;
case 'w':
logfile = strdup(optarg);