chiark / gitweb /
udev: remove HWDB_BIN
[elogind.git] / src / udev / udevadm-hwdb.c
index 4017526d1cda012a020ae47a0bfc9bb5c8d6bc6e..8e515b9f715a7e2e9b1b0fa362807e9a89f8f052 100644 (file)
@@ -1,7 +1,7 @@
 /***
   This file is part of systemd.
 
-  Copyright 2012 Kay Sievers <kay.sievers@vrfy.org>
+  Copyright 2012 Kay Sievers <kay@vrfy.org>
 
   systemd is free software; you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as published by
@@ -469,7 +469,7 @@ static int import_file(struct trie *trie, const char *filename) {
 }
 
 static void help(void) {
-        printf("Usage: udevadm hwdb [--create] [--help]\n"
+        printf("Usage: udevadm hwdb OPTIONS\n"
                "  --update            update the hardware database\n"
                "  --test <modalias>   query database and print result\n"
                "  --help\n\n");
@@ -568,7 +568,7 @@ static int adm_hwdb(struct udev *udev, int argc, char *argv[]) {
                 mkdir_parents("/etc/udev/hwdb.bin", 0755);
                 err = trie_store(trie, "/etc/udev/hwdb.bin");
                 if (err < 0) {
-                        log_error("Failure writing hardware database '%s': %s", "/etc/udev/hwdb.bin", strerror(-err));
+                        log_error("Failure writing database /etc/udev/hwdb.bin: %s", strerror(-err));
                         rc = EXIT_FAILURE;
                 }
         }