diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-26 21:35:14 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-26 21:35:14 +0000 |
commit | 2f6b07dba8627ec4c76e1855e78d40ada06f469a (patch) | |
tree | 2a2459c077f12205662b196052840c328088c932 /fibmap_mplayer.c | |
parent | bb02b536652fe698067c191ffe33a0421fe16ff3 (diff) | |
download | mpv-2f6b07dba8627ec4c76e1855e78d40ada06f469a.tar.bz2 mpv-2f6b07dba8627ec4c76e1855e78d40ada06f469a.tar.xz |
all error/warn/info messages moved to help_mp-en.h for translation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1974 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'fibmap_mplayer.c')
-rw-r--r-- | fibmap_mplayer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fibmap_mplayer.c b/fibmap_mplayer.c index 895f3f9a22..ead0879212 100644 --- a/fibmap_mplayer.c +++ b/fibmap_mplayer.c @@ -16,20 +16,20 @@ int main ( int argc , char ** argv ) { int fd,lba=0; if (argc!=2) { - printf("Bad usage.\n"); + fprintf(stderr,"Bad usage.\n"); return 1; } if ((fd = open(argv[1], O_RDONLY)) == -1) { - printf("Cannot open file %s: %s\n", + fprintf(stderr,"Cannot open file %s: %s\n", argv[1] ? argv[1] : "(NULL)", strerror(errno)); return 1; } if (ioctl(fd, FIBMAP, &lba) != 0) { - printf("fibmap ioctl: %s (Hint: %s is not suid root?)\n",strerror(errno),argv[0]); + fprintf(stderr,"fibmap ioctl: %s (Hint: %s is not suid root?)\n",strerror(errno),argv[0]); close(fd); return 1; } close(fd); - printf("%d\n",lba); + fprintf(stderr,"%d\n",lba); return 0; } |