Browse Source

Rephrase log messages

master
Pekka Helenius 3 years ago
parent
commit
e8e44fd43c
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/conf.c
  2. +2
    -2
      src/device.c
  3. +1
    -1
      src/local.c

+ 1
- 1
src/conf.c View File

@ -173,7 +173,7 @@ int pusb_conf_parse(const char *file, t_pusb_options *opts,
sizeof(opts->device.name));
if (!retval || !pusb_conf_parse_device(opts, doc))
{
log_error("No device configured for user \"%s\".\n", user);
log_error("No authentication device configured for user \"%s\".\n", user);
xmlFreeDoc(doc);
xmlCleanupParser();
return (0);


+ 2
- 2
src/device.c View File

@ -57,10 +57,10 @@ static int pusb_device_connected(t_pusb_options *opts, UDisksClient *udisks)
}
if (retval)
log_info("Device \"%s\" is connected (good).\n",
log_info("Authentication device \"%s\" is connected.\n",
opts->device.name);
else
log_error("Device \"%s\" is not connected (bad).\n",
log_error("Authentication device \"%s\" is not connected.\n",
opts->device.name);
g_list_foreach (objects, (GFunc) g_object_unref, NULL);


+ 1
- 1
src/local.c View File

@ -62,6 +62,6 @@ int pusb_local_login(t_pusb_options *opts, const char *user)
return (0);
}
}
log_debug("Caller is local (good)\n");
log_debug("Caller is local.\n");
return (1);
}

Loading…
Cancel
Save