X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev%2Fudevadm.c;h=b18114273c8e839dec6e0ca5a6d82400e270a604;hb=9921484458e0233e1aae868bfa8cc1481aa460a8;hp=bfa704ef21754b9472c4bd297c9e7002a8821590;hpb=e5931bb7d86226a3823bdf5f4ec01c857827d386;p=elogind.git diff --git a/udev/udevadm.c b/udev/udevadm.c index bfa704ef2..b18114273 100644 --- a/udev/udevadm.c +++ b/udev/udevadm.c @@ -1,23 +1,20 @@ /* * Copyright (C) 2007-2008 Kay Sievers * - * 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 version 2 of the License. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * 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 + * (at your option) any later version. * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ -#include "config.h" - #include #include #include @@ -167,8 +164,8 @@ int main(int argc, char *argv[]) prog[len] = '\0'; fprintf(stderr, "the program '%s' called '%s', it should use 'udevadm %s ', " "this will stop working in a future release\n", prog, argv[0], command); - info(udev, "the program '%s' called '%s', it should use 'udevadm %s ', " - "this will stop working in a future release\n", prog, argv[0], command); + err(udev, "the program '%s' called '%s', it should use 'udevadm %s ', " + "this will stop working in a future release\n", prog, argv[0], command); } rc = run_command(udev, &cmds[i], argc, argv); goto out;