From: Theodore Tso Date: Tue, 20 Aug 1991 19:18:43 +0000 (+0000) Subject: Fixed spelling mistakes X-Git-Tag: krb5-1.0-beta2~272 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f9ba7af545c43145745060c557e24f3bbd2fa996;p=krb5.git Fixed spelling mistakes Change to avoid fscanf() into a character array; make it go into a temporary variable first, and then copy it in, character by character. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2190 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/admin/edit/dump.c b/src/admin/edit/dump.c index 16098e3ae..25b001cd0 100644 --- a/src/admin/edit/dump.c +++ b/src/admin/edit/dump.c @@ -193,6 +193,7 @@ void load_db(argc, argv) int load_error = 0; int lineno = 0; int stype, slength; + int align; char buf[64]; /* Must be longer than ld_vers */ if (argc != 3) { @@ -249,14 +250,14 @@ void load_db(argc, argv) break; if (!(name = malloc(name_len+1))) { com_err(argv[0], errno, - "While allocating speace for name"); + "While allocating space for name"); load_error++; break; } if (!(mod_name = malloc(mod_name_len+1))) { free(name); com_err(argv[0], errno, - "While allocating speace for name"); + "While allocating space for name"); load_error++; break; } @@ -270,17 +271,18 @@ void load_db(argc, argv) free(name); free(mod_name); com_err(argv[0], errno, - "While allocating speace for name"); + "While allocating space for name"); load_error++; break; } for (i=0; i