author | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-08-14 19:31:32 (GMT) |
---|---|---|
committer | Don Pellegrino <don@coffee.donpellegrino.com> | 2009-08-14 19:31:32 (GMT) |
commit | 81f7d7b39c19770c969fce610d9b1e14955abb98 (patch) (side-by-side diff) | |
tree | 269e9662b9b2fbd1bd9879ad754775826eaee696 | |
parent | 59a60ef697d44284d89bc8a05990632bb2a56fb8 (diff) | |
download | exp005-81f7d7b39c19770c969fce610d9b1e14955abb98.zip exp005-81f7d7b39c19770c969fce610d9b1e14955abb98.tar.gz exp005-81f7d7b39c19770c969fce610d9b1e14955abb98.tar.bz2 |
Modified to match size of printed variable.
-rw-r--r-- | src/util/sqlinfoprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sqlinfoprint.c b/src/util/sqlinfoprint.c index 071b4c9..cc02784 100644 --- a/src/util/sqlinfoprint.c +++ b/src/util/sqlinfoprint.c @@ -33,7 +33,7 @@ sqlinfoprint (char *appMsg, struct sqlca *pSqlca, strcat (sqlInfo, sqlInfoToken); sprintf (sqlInfoToken, " file = %s\n", file); strcat (sqlInfo, sqlInfoToken); - sprintf (sqlInfoToken, " SQLCODE = %li\n", pSqlca->sqlcode); + sprintf (sqlInfoToken, " SQLCODE = %i\n", pSqlca->sqlcode); strcat (sqlInfo, sqlInfoToken); /* get error message */ rc = sqlaintp (errorMsg, 1024, 80, pSqlca); |