.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=175
This commit is contained in:
parent
547bc97997
commit
b7674fbaa6
@ -1,4 +1,20 @@
|
||||
--- .#empty
|
||||
+++ .#empty 2012-01-30 17:44:30.343145442 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+Place holder
|
||||
--- libinit.c
|
||||
+++ libinit.c 2012-05-23 11:04:58.370146656 +0000
|
||||
@@ -265,7 +265,7 @@ static inline boolean isnetfs(const char
|
||||
static void init_mounts(void)
|
||||
{
|
||||
char point[PATH_MAX+1];
|
||||
- char fstype[126];
|
||||
+ char fstype[257];
|
||||
struct stat st;
|
||||
int mid, parid, max = 0;
|
||||
uint maj, min;
|
||||
@@ -280,7 +280,7 @@ static void init_mounts(void)
|
||||
|
||||
if ((mnt = fopen("/proc/self/mountinfo", "re")) == (FILE*)0)
|
||||
return;
|
||||
- while (fscanf(mnt, "%i %i %u:%u %*s %s %*s - %*s %s %*[^\n]", &mid, &parid, &maj, &min, &point[0], &fstype[0]) == 6) {
|
||||
+ while (fscanf(mnt, "%i %i %u:%u %*s %s %*s - %s %*s %*[^\n]", &mid, &parid, &maj, &min, &point[0], &fstype[0]) == 6) {
|
||||
const size_t nlen = strlen(point);
|
||||
MNTINFO *restrict p;
|
||||
if (posix_memalign((void*)&p, sizeof(void*), alignof(MNTINFO)+(nlen+1)) != 0) {
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 23 10:45:13 UTC 2012 - werner@suse.de
|
||||
|
||||
- Fix parameter turner in fscanf to really detect the file system
|
||||
type in startproc/checkproc/killproc (bnc#762489)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 4 12:47:47 UTC 2012 - werner@suse.de
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user