diff options
author | Martin Mares <mj@ucw.cz> | 2009-02-01 15:52:19 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2009-02-01 15:52:19 +0100 |
commit | 607fd2418ecf40c3866fde976a2d288c2d2a104e (patch) | |
tree | ae9b97f7693f2142815168ec0d8925caf984445c | |
parent | f6523e28bb9ee846d349f653c9f4c58d1fd7c975 (diff) | |
download | pciutils-607fd2418ecf40c3866fde976a2d288c2d2a104e.tar.gz |
One more fix for the syntax error checks in setpci argument parser.
-rw-r--r-- | setpci.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -499,7 +499,11 @@ static int parse_x32(char *c, char **stopp, unsigned int *resp) return 0; } else - return 1; + { + if (stopp) + *stopp = NULL; + return 1; + } } static void parse_register(struct op *op, char *base) |