Commit a85968eb authored by Stanislav Kinsburskiy's avatar Stanislav Kinsburskiy Committed by Pavel Emelyanov

autofs: fix device id printf modifier on error path in autofs_mnt_open

Type dev_t corresponds to "unsigned long".
Signed-by: 's avatarStanislav Kinsburskiy <skinsbursky@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent eb7893e9
......@@ -504,7 +504,7 @@ static int autofs_mnt_open(const char *mnt_path, dev_t devid)
fd = param->ioctlfd;
free(param);
if (err < 0) {
pr_err("Failed to get %s fd (devid: %ld)\n", mnt_path, devid);
pr_err("Failed to get %s fd (devid: %lu)\n", mnt_path, devid);
return -1;
}
return fd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment