Commit 42b8a557 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Linux DVB: fix format string

parent 9a61ad29
......@@ -68,7 +68,7 @@ static int dvb_open_node (int dir, const char *type, unsigned dev, int flags)
int fd;
char path[strlen (type) + 4];
snprintf (path, sizeof (path), "%s%"PRIu8, type, dev);
snprintf (path, sizeof (path), "%s%u", type, dev);
fd = vlc_openat (dir, path, flags);
if (fd != -1)
fcntl (fd, F_SETFL, fcntl (fd, F_GETFL) | O_NONBLOCK);
......
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