From 172800ce74c9ecc2b5bc9d20c8917ae9025534ac Mon Sep 17 00:00:00 2001 From: davem Date: Fri, 8 May 2009 09:43:54 +0000 Subject: [PATCH] * util/sparc64/ieee1275/grub-ofpathname.c (main): Set progname. --- ChangeLog | 4 ++++ util/sparc64/ieee1275/grub-ofpathname.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0675a98e8..e3ef70ade 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-05-08 David S. Miller + + * util/sparc64/ieee1275/grub-ofpathname.c (main): Set progname. + 2009-05-06 Robert Millan * util/i386/pc/grub-setup.c (setup): Fix check for embed region diff --git a/util/sparc64/ieee1275/grub-ofpathname.c b/util/sparc64/ieee1275/grub-ofpathname.c index 092826c21..358608b02 100644 --- a/util/sparc64/ieee1275/grub-ofpathname.c +++ b/util/sparc64/ieee1275/grub-ofpathname.c @@ -24,6 +24,8 @@ int main(int argc, char **argv) { char *of_path; + progname = "grub-ofpathname"; + if (argc != 2) { printf("Usage: grub-ofpathname DEVICE\n");