X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fpath_id%2Fpath_id.c;h=dcee37881fcd0de1565743d658f9f379c7e8d3ef;hp=4b57dec0d31caf3ba7b4f560e5fc2eca582137f8;hb=1230d021bd75de9b1503bbaa807d6a59789963db;hpb=9060b066d9e7aaca9795010ac5fff61018947f87 diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c index 4b57dec0d..dcee37881 100644 --- a/extras/path_id/path_id.c +++ b/extras/path_id/path_id.c @@ -1,8 +1,10 @@ /* - * compose persisistent device path + * compose persistent device path * * Copyright (C) 2009 Kay Sievers * + * Logic based on Hannes Reinecke's shell script. + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or @@ -31,7 +33,7 @@ #include "libudev.h" #include "libudev-private.h" -int debug; +static int debug; static void log_fn(struct udev *udev, int priority, const char *file, int line, const char *fn,