X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fcore%2Fdevice.c;h=c298cd95f69c613bdd17efa02a011a91cb92a705;hp=b254e45b33d17a8706f44d48a9f3fa4838a0cfda;hb=ee33e53a70c0d3f9d8aeafe4b8fd84a0d5e1d8d9;hpb=cc13b327297bb616f8adca10c7503581c8bc5b93 diff --git a/src/core/device.c b/src/core/device.c index b254e45b3..c298cd95f 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -382,7 +382,7 @@ static int device_process_new_device(Manager *m, struct udev_device *dev) { * same /dev/disk/by-label/xxx link because they have * the same label. We want to make sure that the same * device that won the symlink wins in systemd, so we - * check the device node major/minor*/ + * check the device node major/minor */ if (stat(p, &st) >= 0) if ((!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode)) || st.st_rdev != udev_device_get_devnum(dev))