X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=setpci.c;h=497538a5b9d73658f23255001378e812137e613f;hb=239ff18adf556b63a16be968725ba9fd0e6d5227;hp=3efd1965292c33449613f743b88341c529853de3;hpb=33bc28a56667f0857e1225a0c4e71aac92c060eb;p=pciutils.git diff --git a/setpci.c b/setpci.c index 3efd196..497538a 100644 --- a/setpci.c +++ b/setpci.c @@ -1,9 +1,9 @@ /* - * $Id: setpci.c,v 1.10 1999/12/04 12:32:57 mj Exp $ + * $Id: setpci.c,v 1.12 2002/03/30 15:39:24 mj Exp $ * * Linux PCI Utilities -- Manipulate PCI Configuration Registers * - * Copyright (c) 1998 Martin Mares + * Copyright (c) 1998 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -327,7 +327,7 @@ next: usage(); if (c[2]) d = (c[2] == '=') ? c+3 : c+2; - else if (argc) + else if (argc > 1) { argc--; argv++;