summaryrefslogtreecommitdiff
path: root/inotail.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2007-09-07 12:25:57 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2007-09-07 12:25:57 +0200
commit6bd2fd4980190c05ccfde6474f380082a6cfcaeb (patch)
tree24413c7b61677088ff65fc42b93ec5d3a45e105d /inotail.c
parenta86c62dd8c18d34b5a85efc5baa80224ce3cf4a4 (diff)
Also print strerror when file type is not supported
Diffstat (limited to 'inotail.c')
-rw-r--r--inotail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inotail.c b/inotail.c
index 89e213c..993bd68 100644
--- a/inotail.c
+++ b/inotail.c
@@ -287,7 +287,7 @@ static int tail_file(struct file_struct *f, unsigned long n_units, char mode, ch
}
if (!IS_TAILABLE(finfo.st_mode)) {
- fprintf(stderr, "Error: '%s' of unsupported file type\n", f->name);
+ fprintf(stderr, "Error: '%s' of unsupported file type (%s)\n", f->name, strerror(errno));
ignore_file(f);
return -1;
}
vers/phy/phy-sun4i-usb.c?id=d99cb37828a2fe344ecc95d1fad570bbe447cc06'>phy-sun4i-usb: fix missing __iomem *Ben Dooks1-1/+1 2016-06-17phy: phy-sun4i-usb: Fix optional gpios failing probeQuentin Schulz1-4/+4 2015-12-20phy-sun4i-usb: Add support for the host usb-phys found on the H3 SoCReinder de Haan1-9/+32 2015-12-20phy-sun4i-usb: Use of_match_node to get model specific config dataHans de Goede1-42/+79 2015-10-06phy: sun4i-usb: Use devm_gpiod_get_optional for optional GPIOsAxel Lin1-13/+9 2015-08-14Merge tag 'phy-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/kish...Greg Kroah-Hartman1-26/+397 2015-08-03phy: Constify struct phy_ops variablesAxel Lin1-1/+1 2015-08-03phy-sun4i-usb: Only check vbus-det on power-on on boards with vbus-detHans de Goede1-1/+2 2015-08-03phy-sun4i-sub: Move vbus-detect helper functions up in the fileHans de Goede1-24/+24 2015-08-01phy-sun4i-usb: Add missing EXPORT_SYMBOL_GPL for sun4i_usb_phy_set_squelch_de...Hans de Goede1-0/+1 2015-07-25phy-sun4i-usb: Add support for monitoring vbus via a power-supplyHans de Goede1-7/+69 2015-07-25phy-sun4i-usb: Add support for boards with broken Vusb-detectionHans de Goede1-8/+36 2015-07-25phy-sun4i-usb: Add support for the usb-phys on the sun8i-a33 SoCHans de Goede1-11/+28 2015-07-25phy-sun4i-usb: Add support for the usb-phys on the sun8i-a23 SoCHans de Goede1-2/+5 2015-07-25phy-sun4i-usb: Swap check for disconnect thresholdHans de Goede1-4/+4 2015-07-25phy-sun4i-usb: Add extcon support for the otg phy (phy0)Hans de Goede1-1/+31 2015-07-25phy-sun4i-usb: Add id and vbus detection support for the otg phy (phy0)Hans de Goede1-10/+240 2015-05-27phy: sun4i-usb: Add a sunxi specific function for setting squelch-detectHans de Goede1-0/+9 2014-12-23phy-sun4i-usb: Change disconnect threshold value for sun6iHans de Goede1-1/+2 2014-11-22phy: remove the old lookup methodHeikki Krogerus1-1/+1 2014-11-13phy: sun4i: add support for USB phy0Roman Byshko1-3/+6 2014-09-24phy: remove .owner field for drivers using module_platform_driverPeter Griffin1-1/+0 2014-07-22phy: core: Let node ptr of PHY point to PHY and not of PHY providerKishon Vijay Abraham I1-1/+1 2014-07-22phy: sun4i-usb: Use PTR_ERR_OR_ZEROSachin Kamat1-3/+2 2014-05-14phy: usb: sunxi: Introduce Allwinner A31 USB PHY supportMaxime Ripard1-11/+22 2014-05-14phy: sunxi: Rework phy initializationMaxime Ripard1-24/+18 2014-03-03PHY: sunxi: Add driver for sunxi usb phyHans de Goede1-0/+331