phatina / simple-mtpfs

Simple MTP fuse filesystem driver.
GNU General Public License v2.0
371 stars 45 forks source link

Missing newline? #21

Closed delcypher closed 10 years ago

delcypher commented 11 years ago

This is incredibly minor but I noticed the output is slightly different between 0.1 and 0.2

0.1

[dan@dan-mainbox ~]$ ~/dev/simple-mtpfs/bin/src/simple-mtpfs -d -f mnt/
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/10 (MTP).
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Android device detected, assigning default bug flags

0.2

[dan@dan-mainbox ~]$ simple-mtpfs -d -f mnt/
Unable to open ~/.mtpz-data for reading, MTPZ disabled.[dan@dan-mainbox ~]$ 
phatina commented 11 years ago

Yes, the newline is missing in libmtp library. Your report is related to mtpz.c:133, which uses util.h:46.

Maybe, we should redirect this issue to libmtp devels.