|
@@ -1171,9 +1171,10 @@ static ssize_t bin_dn_node_address(struct file *file,
|
|
|
|
|
|
/* Convert the decnet address to binary */
|
|
/* Convert the decnet address to binary */
|
|
result = -EIO;
|
|
result = -EIO;
|
|
- nodep = strchr(buf, '.') + 1;
|
|
|
|
|
|
+ nodep = strchr(buf, '.');
|
|
if (!nodep)
|
|
if (!nodep)
|
|
goto out;
|
|
goto out;
|
|
|
|
+ ++nodep;
|
|
|
|
|
|
area = simple_strtoul(buf, NULL, 10);
|
|
area = simple_strtoul(buf, NULL, 10);
|
|
node = simple_strtoul(nodep, NULL, 10);
|
|
node = simple_strtoul(nodep, NULL, 10);
|