X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils%2Fmount%2Fmount.c;h=1d362e1d3da789df55658a12c388715f09187151;hp=319c624882bb5a1aef7ba925ea5f63ee8d67858f;hb=21c84cec32921e6de8feaa5496f337496379ea23;hpb=164e3aed7d737055ac7aa2d0cc9981247f32a491 diff --git a/src/utils/mount/mount.c b/src/utils/mount/mount.c index 319c6248..1d362e1d 100644 --- a/src/utils/mount/mount.c +++ b/src/utils/mount/mount.c @@ -18,7 +18,7 @@ * * Author: * Niki W. Waibel -**/ + **/ #if HAVE_CONFIG_H #include "config.h" @@ -250,14 +250,14 @@ static void uuidcache_init(void) { if (isdigit((int)s[-1])) { /* - * Note: this is a heuristic only - there is no reason - * why these devices should live in /dev. - * Perhaps this directory should be specifiable by option. - * One might for example have /devlabel with links to /dev - * for the devices that may be accessed in this way. - * (This is useful, if the cdrom on /dev/hdc must not - * be accessed.) - */ + * Note: this is a heuristic only - there is no reason + * why these devices should live in /dev. + * Perhaps this directory should be specifiable by option. + * One might for example have /devlabel with links to /dev + * for the devices that may be accessed in this way. + * (This is useful, if the cdrom on /dev/hdc must not + * be accessed.) + */ snprintf(device, sizeof(device), "%s/%s", DEVLABELDIR, ptname); if (!get_label_uuid(device, &label, uuid)) { uuidcache_addentry(sstrdup(device), label, uuid); @@ -522,7 +522,7 @@ static cu_mount_t *cu_mount_gen_getmntent(void) { #elif HAVE_SEQ_GETMNTENT #warn "This version of `getmntent' hat not yet been implemented!" -/* #endif HAVE_SEQ_GETMNTENT */ + /* #endif HAVE_SEQ_GETMNTENT */ #elif HAVE_GETMNTENT_R static cu_mount_t *cu_mount_getmntent(void) {