summaryrefslogtreecommitdiffstats
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile/profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile/profile.c b/profile/profile.c
index 3740a6c..28b818d 100644
--- a/profile/profile.c
+++ b/profile/profile.c
@@ -68,7 +68,8 @@ int main(int argc, char *argv[])
const int frame_h = 720;
if (argc < 5) {
- printf("usage: %s <subtitle file> <start time> <fps> <end time>\n", argv[0]);
+ printf("usage: %s <subtitle file> <start time> <fps> <end time>\n",
+ argv[0] ? argv[0] : "profile");
exit(1);
}
char *subfile = argv[1];