From: Vladimir 'phcoder' Serbinenko Date: Fri, 11 Nov 2011 20:03:49 +0000 (+0100) Subject: * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic X-Git-Tag: 2.00~964 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c76b54176213bb705badc31a434ec0229a45751e;p=thirdparty%2Fgrub.git * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic fix. --- diff --git a/ChangeLog b/ChangeLog index e645709ef..be33b7660 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-11-11 Vladimir Serbinenko + + * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic + fix. + 2011-11-11 Vladimir Serbinenko * grub-core/efiemu/mm.c (grub_efiemu_mmap_fill): Change printf into diff --git a/grub-core/hook/datehook.c b/grub-core/hook/datehook.c index d7ceb85c8..ac75908ef 100644 --- a/grub-core/hook/datehook.c +++ b/grub-core/hook/datehook.c @@ -50,7 +50,7 @@ grub_read_hook_datetime (struct grub_env_var *var, int i; for (i = 0; i < 7; i++) - if (! grub_strcmp (var->name, grub_datetime_names[i])) + if (grub_strcmp (var->name, grub_datetime_names[i]) == 0) { int n;