Skip to content

Commit 372c7c4

Browse files
author
Stefan Reinauer
committed
fix license printing
git-svn-id: svn://coreboot.org/openbios/fcode-utils@94 f158a5a8-5612-0410-a976-696ce0be7e32
1 parent af385f3 commit 372c7c4

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

detok/detok.c

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
* This program is part of a free implementation of the IEEE 1275-1994
88
* Standard for Boot (Initialization Configuration) Firmware.
99
*
10-
* Copyright (C) 2001-2005 Stefan Reinauer, <stepan@openbios.org>
10+
* Copyright (C) 2001-2006 Stefan Reinauer, <stepan@openbios.org>
11+
* Copyright (C) 2006 coresystems GmbH <info@coresystems.de>
1112
*
1213
* This program is free software; you can redistribute it and/or modify
1314
* it under the terms of the GNU General Public License as published by
@@ -44,8 +45,10 @@
4445
#include "stream.h"
4546
#include "addfcodes.h"
4647

47-
#define DETOK_VERSION "0.6.1"
48+
#define DETOK_VERSION "1.0.0"
4849

50+
#define CORE_COPYR "(C) Copyright 2001-2006 Stefan Reinauer.\n" \
51+
"(C) Copyright 2006 coresystems GmbH <info@coresystems.de>"
4952
#define IBM_COPYR "(C) Copyright 2005 IBM Corporation. All Rights Reserved."
5053

5154
bool verbose = FALSE ;
@@ -62,18 +65,16 @@ static void print_copyright(bool is_error)
6265
char buffr[512];
6366

6467
sprintf( buffr,
65-
"Welcome to the OpenBIOS detokenizer v%s\ndetok Copyright"
66-
"(c) 2001-2005 by Stefan Reinauer.\nWritten by Stefan "
67-
"Reinauer, <stepan@openbios.org>\n" "This program is "
68-
"free software; you may redistribute it under the terms of\n"
69-
"the GNU General Public License. This program has absolutely"
70-
" no warranty.\n\n" ,DETOK_VERSION);
68+
"Welcome to detok - OpenBIOS detokenizer v" DETOK_VERSION "\n"
69+
CORE_COPYR "\n" IBM_COPYR "\n"
70+
"Written by Stefan Reinauer, <stepan@openbios.org>\n"
71+
"This program is free software; you may redistribute it "
72+
"under the terms of\nthe GNU General Public License v2. This "
73+
"program has absolutely no warranty.\n\n" );
7174

7275
pfunct = ( is_error ? (vfunct)printf : printremark );
7376

7477
(*pfunct) ( buffr );
75-
76-
(*pfunct) ( IBM_COPYR "\n" );
7778
}
7879

7980
static void usage(char *name)

toke/toke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static void print_copyright(void)
102102
printf( "Welcome to toke - OpenBIOS tokenizer v" TOKE_VERSION "\n"
103103
CORE_COPYR "\n" IBM_COPYR "\n"
104104
"This program is free software; you may redistribute it "
105-
"under the terms of\nthe GNU General Public License. This "
105+
"under the terms of\nthe GNU General Public License v2. This "
106106
"program has absolutely no warranty.\n\n");
107107
#ifdef DEVEL
108108
/* Temporary hack during development... */

0 commit comments

Comments
 (0)