diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-08-26 22:34:01 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-08-26 22:34:01 +0200 |
commit | 5132986080f45c38e0a8f0677c61e5f4e280ea9a (patch) | |
tree | ce91b27285244f1906db363a24e6f9533cda9568 /v4l2-apps/util/v4l2-sysfs-path.c | |
parent | 2209c0b22bafab863c618952d3d9a076eaff5786 (diff) | |
download | mediapointer-dvb-s2-5132986080f45c38e0a8f0677c61e5f4e280ea9a.tar.gz mediapointer-dvb-s2-5132986080f45c38e0a8f0677c61e5f4e280ea9a.tar.bz2 |
v4l2-sysfs-path: fix compile warning.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps/util/v4l2-sysfs-path.c')
-rw-r--r-- | v4l2-apps/util/v4l2-sysfs-path.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l2-apps/util/v4l2-sysfs-path.c b/v4l2-apps/util/v4l2-sysfs-path.c index 2a6ab0cfc..4f0817017 100644 --- a/v4l2-apps/util/v4l2-sysfs-path.c +++ b/v4l2-apps/util/v4l2-sysfs-path.c @@ -245,13 +245,14 @@ void get_subdevs(char *path) char *s = strchr(entry->d_name, ':'); if (s) { printf("\t%s", entry->d_name); - if (!get_dev(entry->d_name, &major, &minor, extra)) + if (!get_dev(entry->d_name, &major, &minor, extra)) { if (*extra) printf(":%s (dev %d,%d)", extra, major, minor); else printf(" (dev %d,%d)", major, minor); + } printf("\n"); } } |