X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Futils%2Ftap%2Ftap.c;h=9c967f82d4e29b5b3a0aa8b7a4570131ddebd838;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=5d64d844cbd3975ac7735e0fa75f837cf858ade1;hpb=f2068bce016a021995d62c921bfc67ee0b645a70;p=lttng-tools.git diff --git a/tests/utils/tap/tap.c b/tests/utils/tap/tap.c index 5d64d844c..9c967f82d 100644 --- a/tests/utils/tap/tap.c +++ b/tests/utils/tap/tap.c @@ -1,7 +1,9 @@ /*- - * Copyright (c) 2004 Nik Clayton + * Copyright (C) 2004 Nik Clayton * All rights reserved. * + * SPDX-License-Identifier: BSD-2-Clause + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -24,7 +26,6 @@ * SUCH DAMAGE. */ -#define _GNU_SOURCE #include #include #include @@ -296,7 +297,7 @@ int skip(unsigned int n, char *fmt, ...) { va_list ap; - char *skip_msg; + char *skip_msg = NULL; LOCK;