X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fleak-checker.h;h=f6ee5c13342512cb170d575a11cb5fe4759b718a;hb=fbac791aea04553de6efa02e78a9724d85cccb88;hp=8d7624de83ca48a18ce6d1963db7b8db606c5392;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/lib/leak-checker.h b/lib/leak-checker.h index 8d7624de..f6ee5c13 100644 --- a/lib/leak-checker.h +++ b/lib/leak-checker.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009 Nicira Networks. + * Copyright (c) 2008, 2009, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,8 +23,8 @@ OPT_CHECK_LEAKS, \ OPT_LEAK_LIMIT #define LEAK_CHECKER_LONG_OPTIONS \ - {"check-leaks", required_argument, 0, OPT_CHECK_LEAKS}, \ - {"leak-limit", required_argument, 0, OPT_LEAK_LIMIT} + {"check-leaks", required_argument, NULL, OPT_CHECK_LEAKS}, \ + {"leak-limit", required_argument, NULL, OPT_LEAK_LIMIT} #define LEAK_CHECKER_OPTION_HANDLERS \ case OPT_CHECK_LEAKS: \ leak_checker_start(optarg); \