Both be_domid and fe_domid are unsigned.
Reported-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
/* Check to see that it has the proper form, and that fe_domid ==
* target domid */
- r = sscanf(be_path, "/local/domain/%d/backend/%15[^/]/%d",
+ r = sscanf(be_path, "/local/domain/%u/backend/%15[^/]/%u",
&be_domid, be_type, &fe_domid);
if (r != 3 || fe_domid != tgt_domid) {