if (isatty(fd)) {
const gchar *msg="Captive NTFS v" VERSION ". Check a new version at: http://www.jankratochvil.net/\n";
- write(fd,msg,strlen(msg));
- break;
+ /* Prevent: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result */
+ if (strlen(msg)==write(fd,msg,strlen(msg)))
+ break;
}
}
}