diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 19:29:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 19:29:44 +0000 |
commit | a6dbb08a48903cb8f31fad2cf2d1cffa92bd4808 (patch) | |
tree | f7f2113941a2dc0385080baa7656ead41f45f834 /archival/dpkg.c | |
parent | 12f5676cce3b2e04668df3f18f94f1a3c7fdbb9e (diff) |
small style fixes
Diffstat (limited to 'archival/dpkg.c')
-rw-r--r-- | archival/dpkg.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index b55822460..825a8c1d2 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -878,7 +878,8 @@ static void write_status_file(deb_file_t **deb_file) /* remove trailing \n's */ write_buffer_no_status(new_status_file, deb_file[i]->control_file); set_status(status_num, "ok", 2); - fprintf(new_status_file, "Status: %s\n\n", name_hashtable[status_hashtable[status_num]->status]); + fprintf(new_status_file, "Status: %s\n\n", + name_hashtable[status_hashtable[status_num]->status]); write_flag = TRUE; break; } @@ -886,7 +887,9 @@ static void write_status_file(deb_file_t **deb_file) } /* This is temperary, debugging only */ if (deb_file[i] == NULL) { - bb_error_msg_and_die("ALERT: Couldnt find a control file, your status file may be broken, status may be incorrect for %s", package_name); + bb_error_msg_and_die("ALERT: cannot find a control file, " + "your status file may be broken, status may be " + "incorrect for %s", package_name); } } else if (strcmp("not-installed", name_hashtable[state_status]) == 0) { @@ -963,7 +966,8 @@ static void write_status_file(deb_file_t **deb_file) } if (rename("/var/lib/dpkg/status.udeb", "/var/lib/dpkg/status") == -1) { - bb_error_msg_and_die("DANGER: Cannot create status file, you need to manually repair your status file"); + bb_error_msg_and_die("DANGER: cannot create status file, " + "you need to manually repair your status file"); } } |