chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
udevadm: print warning to stderr if udevadm is called by symlink
[elogind.git]
/
udev
/
udevinfo.c
diff --git
a/udev/udevinfo.c
b/udev/udevinfo.c
index 714a69c38490070461af37d8f49a13ffa7318358..6501b57d1a48958dd396f8af0f75cb4b4bc570fc 100644
(file)
--- a/
udev/udevinfo.c
+++ b/
udev/udevinfo.c
@@
-230,11
+230,11
@@
static int stat_device(const char *name, int export, const char *prefix)
prefix, major(statbuf.st_dev),
prefix, minor(statbuf.st_dev));
} else
prefix, major(statbuf.st_dev),
prefix, minor(statbuf.st_dev));
} else
- printf("%d
%d\n", major(statbuf.st_dev), minor(statbuf.st_dev));
+ printf("%d
:
%d\n", major(statbuf.st_dev), minor(statbuf.st_dev));
return 0;
}
return 0;
}
-int udevinfo(int argc, char *argv[]
, char *envp[]
)
+int udevinfo(int argc, char *argv[])
{
int option;
struct udevice *udev = NULL;
{
int option;
struct udevice *udev = NULL;