X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fleak-checker.h;h=e74cd9d8050c22b37bc482d6574a0aa1269755c7;hb=66e7d7a2cd928a5f1c64c7289b042d2fe2ebc21e;hp=8d7624de83ca48a18ce6d1963db7b8db606c5392;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch diff --git a/lib/leak-checker.h b/lib/leak-checker.h index 8d7624de..e74cd9d8 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, Inc. * * 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); \